interface ChatOpenAICallOptions {
    options?: OpenAICoreRequestOptions<Record<string, unknown>>;
    promptIndex?: number;
    response_format?: {
        type: "json_object";
    };
    seed?: number;
    tool_choice?: "auto" | "none" | ChatCompletionNamedToolChoice;
    tools?: StructuredToolInterface[] | ChatCompletionTool[];
}

Hierarchy (view full)

Properties

options?: OpenAICoreRequestOptions<Record<string, unknown>>

Additional options to pass to the underlying axios request.

promptIndex?: number
response_format?: {
    type: "json_object";
}

Type declaration

  • type: "json_object"
seed?: number
tool_choice?: "auto" | "none" | ChatCompletionNamedToolChoice
tools?: StructuredToolInterface[] | ChatCompletionTool[]

Generated using TypeDoc