立即开始
GroqCloud Tools

Groqcloud Groq Create Chat Completion

通过 Aident Loadout 使用 GroqCloud Tools 的 Groqcloud Groq Create Chat Completion。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

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.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • ninteger
    Number of chat completion choices to generate (must be 1)
  • stop
    Up to 4 stop sequences where the model will stop generating further tokens
  • userstring
    Unique identifier for the end user for monitoring/abuse detection
  • modelstring
    必填
    ID 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_pnumber
    Nucleus sampling parameter (0 to 1)
  • messagesarray
    必填
    Ordered list of messages comprising the conversation
  • temperaturenumber
    Sampling temperature between 0 and 2
  • max_completion_tokensinteger
    Maximum number of tokens to generate in the completion

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源