Type Alias ChatFireworksCallOptions
ChatFireworksCallOptions: { audio: undefined | ChatCompletionAudioParam; callbacks?: undefined | Callbacks; configurable: undefined | Record<string, any>; include: undefined | null | ResponseIncludable[]; ls_structured_output_format?: undefined | { kwargs: { method: string; }; schema?: JsonSchema7Type; }; maxConcurrency?: undefined | number; metadata?: undefined | Record<string, unknown>; modalities: undefined | ChatCompletionModality[]; options: undefined | RequestOptions; parallel_tool_calls: undefined | boolean; prediction: undefined | ChatCompletionPredictionContent; previous_response_id: undefined | null | string; promptIndex: undefined | number; reasoning: undefined | Reasoning; reasoning_effort: undefined | ChatCompletionReasoningEffort; recursionLimit?: undefined | number; response_format: undefined | ChatOpenAIResponseFormat; runId?: undefined | string; runName?: undefined | string; seed: undefined | number; service_tier: | undefined | null | "default" | "auto" | "flex"; signal?: undefined | AbortSignal; stop?: undefined | string[]; stream_options: undefined | { include_usage: boolean; }; strict: undefined | boolean; tags?: undefined | string[]; text: undefined | ResponseTextConfig; timeout?: undefined | number; tool_choice: | undefined | string | ChatCompletionNamedToolChoice | ToolChoiceTypes | ToolChoiceFunction; tools: undefined | ChatOpenAIToolType[]; truncation: | undefined | null | "auto" | "disabled"; } Type declaration
Optional
callbacks?: undefined | Callbacks
configurable: undefined | Record<string, any>
Optional
ls_structured_output_format?: undefined | {
kwargs: {
method: string;
};
schema?: JsonSchema7Type;
}
Optional
maxConcurrency?: undefined | number
Optional
metadata?: undefined | Record<string, unknown>
options: undefined | RequestOptions
parallel_tool_calls: undefined | boolean
previous_response_id: undefined | null | string
promptIndex: undefined | number
reasoning: undefined | Reasoning
Optional
recursionLimit?: undefined | number
response_format: undefined | ChatOpenAIResponseFormat
Optional
runId?: undefined | string
Optional
runName?: undefined | string
seed: undefined | number
service_tier:
| undefined
| null
| "default"
| "auto"
| "flex"
Optional
signal?: undefined | AbortSignal
Optional
stop?: undefined | string[]
stream_options: undefined | {
include_usage: boolean;
}
strict: undefined | boolean
Optional
tags?: undefined | string[]
Optional
timeout?: undefined | number
tools: undefined | ChatOpenAIToolType[]
truncation:
| undefined
| null
| "auto"
| "disabled"
Callbacks for this call and any sub-calls (eg. a Chain calling an LLM). Tags are passed to all callbacks, metadata is passed to handle*Start callbacks.