MAIDR Documentation - v3.69.0
    Preparing search index...

    Interface LlmRequest

    Request payload for LLM API calls including message, instructions, and authentication.

    interface LlmRequest {
        message: string;
        customInstruction: string;
        expertise: "custom" | "basic" | "intermediate" | "advanced";
        apiKey?: string;
        email?: string;
        clientToken?: string;
        version?: LlmVersion;
    }
    Index

    Properties

    message: string
    customInstruction: string
    expertise: "custom" | "basic" | "intermediate" | "advanced"
    apiKey?: string

    Provider credential. For cloud providers this is the API key; for Ollama it is the base URL of the local server (no key is required).

    email?: string
    clientToken?: string
    version?: LlmVersion

    Model version selected by the user, overriding the provider default.