interface LLMStreamRequest {
    apiKey?: string;
    input: Message[];
    max_tokens?: number;
    model: string;
    stop?: string[];
    temperature?: number;
    text_format?: {
        name: string;
        schema: Record<string, any>;
        strict: boolean;
        type: "json_schema";
    };
}

Properties

apiKey?: string
input: Message[]
max_tokens?: number
model: string
stop?: string[]
temperature?: number
text_format?: {
    name: string;
    schema: Record<string, any>;
    strict: boolean;
    type: "json_schema";
}