Tool to generate a chat-based completion for a conversation. Use when you have a list of prior messages and need the model's next reply. Response completion text is at choices[0].message.content in the returned envelope.
nintegerNumber of chat completion choices to generate (must be 1)
stopUp to 4 stop sequences where the model will stop generating further tokens
userstringUnique identifier for the end user for monitoring/abuse detection
modelRequiredstringID of the model to use Verify valid IDs via GROQCLOUD_LIST_MODELS before use; hard-coded IDs may be deprecated. Different models have different token limits and rate quotas — check model metadata before large-scale completions.
top_pnumberNucleus sampling parameter (0 to 1)
messagesRequiredarrayOrdered list of messages comprising the conversation
temperaturenumberSampling temperature between 0 and 2
max_completion_tokensintegerMaximum number of tokens to generate in the completion
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.