SDK reference / Models / Ai
RouteInferenceRequest
Kind: class
Namespace: Egulu.Sdk.Models.Ai
Route evaluation request on an InferenceRouter (W49b).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Documents | List<string>? | documents | The routed call's rerank documents (as `:invoke`). |
EstimatedInputTokens | int? | estimatedInputTokens | The estimatedInputTokens property |
MaxLatencyMs | int? | maxLatencyMs | The maxLatencyMs property |
MaxTokens | int? | maxTokens | The routed call's `maxTokens` (as `:invoke`). |
Modality | string? | modality | The modality property |
Prompt | string? | prompt | When set, the router executes the request on the endpoint its rules chose and returns that call's answer in `invocation`; the decision is also in the `x-route-endpoint`, `x-route-rule` and `x-route-ring` headers and the call's placement record. Needs `ai.endpoints.invoke` too; a refused call answers with its own problem. |
RequestId | string? | requestId | The routed call's request ID (as `:invoke`). |