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 | Record<string, number>;
    logprobs: undefined | null | boolean;
    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 | ResponseFormat;
    runId: undefined | string;
    runName: undefined | string;
    seed: undefined | null | number;
    service_tier:
        | undefined
        | null
        | "auto"
        | "on_demand"
        | "flex";
    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[]
  • Optionalheaders?: undefined | Record<string, undefined | null | string>

    Additional headers to pass to the API.

  • logit_bias: undefined | null | Record<string, number>
  • logprobs: undefined | null | boolean
  • 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
  • OptionalpromptIndex?: undefined | number

    The index of the prompt in the list of prompts.

  • reasoning_format:
        | undefined
        | null
        | "hidden"
        | "raw"
        | "parsed"
  • recursionLimit: undefined | number
  • response_format: undefined | null | ResponseFormat
  • runId: undefined | string
  • runName: undefined | string
  • seed: undefined | null | number
  • service_tier:
        | undefined
        | null
        | "auto"
        | "on_demand"
        | "flex"
  • signal: undefined | AbortSignal
  • stop: undefined | string[] | string & string[]
  • Optionalstream_options?: undefined | {
        include_usage: boolean;
    }

    Additional options to pass to streamed completions. If provided takes precedence over "streamUsage" set at initialization time.

  • tags: undefined | string[]
  • temperature: undefined | null | number
  • timeout: undefined | number
  • tool_choice: undefined | ((ChatCompletionToolChoiceOption | null) & ToolChoice)
  • Optionaltools?: undefined | ChatGroqToolType[]
  • top_logprobs: undefined | null | number
  • top_p: undefined | null | number