VolcEngine ARK Chat Model
AI-generatedSummary
Create and configure a VolcEngine ARK chat model instance for AI language tasks using specified model and options.
Inputs
- model (required) — Select the VolcEngine ARK chat model to use for completion (e.g., Doubao-Seed-1.6-32k, DeepSeek-R1).
- options — Optional parameters to customize the chat model behavior including temperature (randomness), maximum tokens to generate, top_p (nucleus sampling), frequency penalty, presence penalty, stop sequences to end generation, timeout in milliseconds, and max retries for request failures.
Output shape
a single AI language model instance configured with the specified parameters
Returns a LangChain-compatible ChatOpenAI model instance configured to interact with the VolcEngine ARK API endpoint using the provided credentials; this model can then be used in downstream nodes for chat completions or AI-driven language processing.
Examples
Example 1: Selecting the 'Doubao-Seed-1.6-32k (Flagship)' model with custom temperature and maximum tokens to control response creativity and length, respectively.
model: 'doubao-seed-1-6-32k-250828'; options: temperature=0.5, maxTokens=1000