Type Alias ChatGroqCallOptions
ChatGroqCallOptions: { callbacks: undefined | Callbacks; configurable: undefined | Record<string, any>; frequency_penalty: undefined | null | number; function_call: | undefined | null | "none" | "auto" | "required" | ChatCompletionFunctionCallOption; functions: undefined | null | Function[]; headers?: undefined | Record<string, undefined | null | string>; logit_bias: undefined | null | { [
key:
string]
: number; }; logprobs: undefined | null | boolean; ls_structured_output_format: undefined | { kwargs: { method: string; }; schema?: JsonSchema7Type; }; maxConcurrency: undefined | number; max_completion_tokens: undefined | null | number; max_tokens: undefined | null | number; metadata: undefined | Record<string, unknown>; n: undefined | null | number; parallel_tool_calls: undefined | null | boolean; presence_penalty: undefined | null | number; promptIndex?: undefined | number; reasoning_format: | undefined | null | "hidden" | "raw" | "parsed"; recursionLimit: undefined | number; response_format: | undefined | null | ResponseFormatText | ResponseFormatJsonSchema | ResponseFormatJsonObject; runId: undefined | string; runName: undefined | string; seed: undefined | null | number; service_tier: | undefined | null | "auto" | "on_demand" | "flex" | "performance"; signal: undefined | AbortSignal; stop: undefined | string[] | string & string[]; stream_options?: undefined | { include_usage: boolean; }; tags: undefined | string[]; temperature: undefined | null | number; timeout: undefined | number; tool_choice: undefined | ((ChatCompletionToolChoiceOption | null) & ToolChoice
); tools?: undefined | ChatGroqToolType[]; top_logprobs: undefined | null | number; top_p: undefined | null | number; } Type declaration
callbacks: undefined | Callbacks
configurable: undefined | Record<string, any>
frequency_penalty: undefined | null | number
function_call:
| undefined
| null
| "none"
| "auto"
| "required"
| ChatCompletionFunctionCallOption
functions: undefined | null | Function[]
Optional
headers?: undefined | Record<string, undefined | null | string>
logit_bias: undefined | null | {
[key: string]: number;
}
logprobs: undefined | null | boolean
ls_structured_output_format: undefined | {
kwargs: {
method: string;
};
schema?: JsonSchema7Type;
}
maxConcurrency: undefined | number
max_completion_tokens: undefined | null | number
max_tokens: undefined | null | number
metadata: undefined | Record<string, unknown>
n: undefined | null | number
parallel_tool_calls: undefined | null | boolean
presence_penalty: undefined | null | number
Optional
promptIndex?: undefined | number
reasoning_format:
| undefined
| null
| "hidden"
| "raw"
| "parsed"
recursionLimit: undefined | number
response_format:
| undefined
| null
| ResponseFormatText
| ResponseFormatJsonSchema
| ResponseFormatJsonObject
runId: undefined | string
runName: undefined | string
seed: undefined | null | number
service_tier:
| undefined
| null
| "auto"
| "on_demand"
| "flex"
| "performance"
signal: undefined | AbortSignal
stop: undefined | string[] | string & string[]
Optional
stream_options?: undefined | {
include_usage: boolean;
}
tags: undefined | string[]
temperature: undefined | null | number
timeout: undefined | number
tool_choice: undefined | ((ChatCompletionToolChoiceOption | null) & ToolChoice)
Optional
tools?: undefined | ChatGroqToolType[]
top_logprobs: undefined | null | number
top_p: undefined | null | number
Additional headers to pass to the API.