TargetTrafficSplitEntryDict¶
Dictionary Type¶
TargetTrafficSplitEntryDict
¶
Bases: TypedDict
Dictionary form of TargetTrafficSplitEntry.
Attributes¶
description
instance-attribute
¶
description: str | None
The description of this traffic split variant.
fallback
instance-attribute
¶
fallback: Fallback | FallbackDict | None
The fallback configuration for this variant. Supported only for inference targets.
metadata
instance-attribute
¶
Key-value metadata associated with this traffic split variant.
model
instance-attribute
¶
model: str | None
The model ID to send to the target for this variant. Supported only for inference targets. If you don't specify a model, the gateway sends the model from the original request.
target_name
instance-attribute
¶
The name of the target to route traffic to.