Heroku LangChain - v0.2.1
    Preparing search index...

    Interface HerokuChatCompletionRequest

    Request payload for Heroku /v1/chat/completions API. Source: SPECS.md Table HerokuMia Request Mapping & Heroku /v1/chat/completions doc

    interface HerokuChatCompletionRequest {
        model: string;
        messages: HerokuChatMessage[];
        temperature?: number;
        max_tokens?: number;
        stop?: string[];
        stream?: boolean;
        top_p?: number;
        tools?: HerokuFunctionTool[];
        tool_choice?:
            | "auto"
            | "none"
            | "required"
            | { type: "function"; function: { name: string } };
        extended_thinking?: boolean;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any
    Index

    Properties

    model: string
    messages: HerokuChatMessage[]
    temperature?: number
    max_tokens?: number
    stop?: string[]
    stream?: boolean
    top_p?: number
    tool_choice?:
        | "auto"
        | "none"
        | "required"
        | { type: "function"; function: { name: string } }
    extended_thinking?: boolean