Interface: GroqRequest
@providerprotocol/ai / groq / GroqRequest
Interface: GroqRequest
Section titled “Interface: GroqRequest”Defined in: src/providers/groq/types.ts:131
Request body for the Groq Chat Completions API.
Properties
Section titled “Properties”citation_options?
Section titled “citation_options?”
optionalcitation_options:GroqCitationOptions
Defined in: src/providers/groq/types.ts:156
documents?
Section titled “documents?”
optionaldocuments:GroqDocument[]
Defined in: src/providers/groq/types.ts:155
frequency_penalty?
Section titled “frequency_penalty?”
optionalfrequency_penalty:number
Defined in: src/providers/groq/types.ts:142
logprobs?
Section titled “logprobs?”
optionallogprobs:boolean
Defined in: src/providers/groq/types.ts:150
max_completion_tokens?
Section titled “max_completion_tokens?”
optionalmax_completion_tokens:number
Defined in: src/providers/groq/types.ts:140
max_tokens?
Section titled “max_tokens?”
optionalmax_tokens:number
Defined in: src/providers/groq/types.ts:139
messages
Section titled “messages”messages:
GroqMessage[]
Defined in: src/providers/groq/types.ts:133
model:
string
Defined in: src/providers/groq/types.ts:132
parallel_tool_calls?
Section titled “parallel_tool_calls?”
optionalparallel_tool_calls:boolean
Defined in: src/providers/groq/types.ts:147
presence_penalty?
Section titled “presence_penalty?”
optionalpresence_penalty:number
Defined in: src/providers/groq/types.ts:141
reasoning_effort?
Section titled “reasoning_effort?”
optionalreasoning_effort:string
Defined in: src/providers/groq/types.ts:152
reasoning_format?
Section titled “reasoning_format?”
optionalreasoning_format:string
Defined in: src/providers/groq/types.ts:153
response_format?
Section titled “response_format?”
optionalresponse_format:GroqResponseFormat
Defined in: src/providers/groq/types.ts:148
search_settings?
Section titled “search_settings?”
optionalsearch_settings:GroqSearchSettings
Defined in: src/providers/groq/types.ts:154
optionalseed:number
Defined in: src/providers/groq/types.ts:144
service_tier?
Section titled “service_tier?”
optionalservice_tier:string
Defined in: src/providers/groq/types.ts:149
optionalstop:string|string[]
Defined in: src/providers/groq/types.ts:138
stream?
Section titled “stream?”
optionalstream:boolean
Defined in: src/providers/groq/types.ts:136
stream_options?
Section titled “stream_options?”
optionalstream_options:object
Defined in: src/providers/groq/types.ts:137
include_usage?
Section titled “include_usage?”
optionalinclude_usage:boolean
temperature?
Section titled “temperature?”
optionaltemperature:number
Defined in: src/providers/groq/types.ts:134
tool_choice?
Section titled “tool_choice?”
optionaltool_choice:GroqToolChoice
Defined in: src/providers/groq/types.ts:146
tools?
Section titled “tools?”
optionaltools:GroqTool[]
Defined in: src/providers/groq/types.ts:145
top_logprobs?
Section titled “top_logprobs?”
optionaltop_logprobs:number
Defined in: src/providers/groq/types.ts:151
top_p?
Section titled “top_p?”
optionaltop_p:number
Defined in: src/providers/groq/types.ts:135
optionaluser:string
Defined in: src/providers/groq/types.ts:143