Documentation
    Preparing search index...

    Interface LlmGenerationRequest

    One stateless generation: the supplied messages are the entire conversation.

    interface LlmGenerationRequest {
        format?: LlmFormat;
        handle: string;
        maxTokens?: number;
        messages: LlmMessage[];
        temperature?: number;
        toolChoice?: LlmToolChoice;
        tools?: LlmTool[];
    }
    Index

    Properties

    format?: LlmFormat

    Defaults to text.

    handle: string

    A live Model handle.

    maxTokens?: number

    Positive integer output token limit; runtime policy may cap it.

    messages: LlmMessage[]

    Ordered, nonempty conversation.

    temperature?: number

    Sampling temperature; values the connection does not support produce unsupported.

    toolChoice?: LlmToolChoice

    How the model selects tools; requires a non-empty tools list when present.

    tools?: LlmTool[]

    Tools the model may call. An empty list is equivalent to omission.