SDK reference / Models / Ai

RouteInferenceRequest

Kind: class

Namespace: Egulu.Sdk.Models.Ai

Route evaluation request on an InferenceRouter (W49b).

Properties

NameTypeJSON nameDescription
DocumentsList<string>?documentsThe routed call's rerank documents (as `:invoke`).
EstimatedInputTokensint?estimatedInputTokensThe estimatedInputTokens property
MaxLatencyMsint?maxLatencyMsThe maxLatencyMs property
MaxTokensint?maxTokensThe routed call's `maxTokens` (as `:invoke`).
Modalitystring?modalityThe modality property
Promptstring?promptWhen 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.
RequestIdstring?requestIdThe routed call's request ID (as `:invoke`).