火山引擎 icon

火山引擎

火山引擎 API 集成,支持 IAM 和自定义请求功能

Viking 知识库 → Chat Completions

AI-generated

Summary

Sends a user question to the selected Volcengine chat model, with optional system instructions and conversation history, and returns the model response with token usage when available.

Inputs

  • Model (required) — Select a model from the listed Deepseek and Doubao options; defaults to Doubao-1-5-pro-32k.
  • Messages (required) — The current user question sent to the model.
  • System Prompt — Optional instructions that set the model’s behavior or role.
  • History — Optional JSON array of prior messages, each with a role and content, for example user and assistant turns.
  • Max Tokens — Maximum number of tokens to generate; defaults to 4096.
  • Temperature — Sampling temperature from 0 to 1; defaults to 0.1. Higher values make responses more random.
  • Return Token Usage — Whether to include token usage statistics; defaults to true.
  • Project — Optional project name.

Output shape

A list of output items containing the operation response, associated with their input items.

The node processes each input item and normally emits one main output. The source pack does not include this operation’s implementation, so the exact response fields and how the optional parameters are applied are not shown.

Links

Discussion