API Reference
Packages
vllm.ai/v1alpha1
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group
Resource Types
Decision
Decision defines a routing decision based on rule combinations
Appears in:
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the unique identifier for this decision | MaxLength: 100 MinLength: 1 Required: {} | |
priority integer | Priority defines the priority of this decision (higher values = higher priority) Used when strategy is "priority" | 0 | Maximum: 1000 Minimum: 0 |
description string | Description provides a human-readable description of this decision | MaxLength: 500 | |
signals SignalCombination | Signals defines the signal combination logic | Required: {} | |
modelRefs ModelRef array | ModelRefs defines the model references for this decision (currently only one model is supported) | MaxItems: 1 MinItems: 1 Required: {} | |
plugins DecisionPlugin array | Plugins defines the plugins to apply for this decision | MaxItems: 10 |
DecisionPlugin
DecisionPlugin defines a plugin configuration for a decision
Appears in:
| Field | Description | Default | Validation |
|---|---|---|---|
type string | Type is the plugin type (fast_response, hallucination, header_mutation, image_gen, memory, rag, request_params, response_jailbreak, router_replay, semantic-cache, system_prompt, tools) | Enum: [fast_response hallucination header_mutation image_gen memory rag request_params response_jailbreak router_replay semantic-cache system_prompt tools] Required: {} | |
configuration RawExtension | Configuration is the plugin-specific configuration as a raw JSON object | Schemaless: {} |
DomainSignal
DomainSignal defines a domain category for classification
Appears in:
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the unique identifier for this domain | MaxLength: 100 MinLength: 1 Required: {} | |
description string | Description provides a human-readable description of this domain | MaxLength: 500 |
EmbeddingSignal
EmbeddingSignal defines an embedding-based signal extraction rule
Appears in:
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the unique identifier for this signal | MaxLength: 100 MinLength: 1 Required: {} | |
threshold float | Threshold is the similarity threshold for matching (0.0-1.0) | Maximum: 1 Minimum: 0 Required: {} | |
candidates string array | Candidates is the list of candidate phrases for semantic matching | MaxItems: 100 MinItems: 1 Required: {} | |
aggregationMethod string | AggregationMethod defines how to aggregate multiple candidate similarities | max | Enum: [mean max any] |
IntelligentPool
IntelligentPool defines a pool of models with their configurations
Appears in:
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | vllm.ai/v1alpha1 | ||
kind string | IntelligentPool | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec IntelligentPoolSpec | |||
status IntelligentPoolStatus |
IntelligentPoolList
IntelligentPoolList contains a list of IntelligentPool
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | vllm.ai/v1alpha1 | ||
kind string | IntelligentPoolList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items IntelligentPool array |