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 |