节点与集成

Qwen Cloud Chat Model

The Qwen Cloud Chat Model node sends chat prompts to conversational models available on Qwen Cloud, for advanced AI chains and LangChain integrations. Use it to generate conversational responses, integrate model outputs into workflows, or run prompts with custom sampling, retry, and timeout settings.

Operations

Generate chat response

Generate a chat-style response from the selected Qwen Cloud model.

Parameters

  • Model (type: options, field: model): The model that generates the completion. Learn more about available models on Qwen Cloud: Choose models.

Options

  • Frequency Penalty (type: number, field: frequencyPenalty): Positive values penalize new tokens based on how often they appear so far, decreasing the model's likelihood to repeat the same line verbatim. Default: 0.
  • Maximum Number of Tokens (type: number, field: maxTokens): The maximum number of tokens to generate in the completion. The limit depends on the selected model. A value of minus one uses the model's default limit. Default: -1.
  • Response Format (type: options, field: responseFormat): The output format returned by the node, for example plain text or structured formats. Default: text.
  • Presence Penalty (type: number, field: presencePenalty): Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to discuss new topics. Default: 0.
  • Sampling Temperature (type: number, field: temperature): Control randomness. Lower values make output less random, near zero is deterministic. Default: 0.7.
  • Timeout (type: number, field: timeout): Maximum time (in milliseconds) allowed for a request before it's aborted. Default: 360000.
  • Max Retries (type: number, field: maxRetries): Maximum number of retry attempts for failed requests. Default: 2.
  • Top P (type: number, field: topP): Nucleus sampling parameter that controls diversity. 0.5 means half of the probability mass is considered. Adjust Top P or Sampling Temperature, but not both. Default: 1.

Templates and examples

Browse Qwen Cloud Chat Model node documentation integration templates or search all templates

Related resources

Refer to Choose models for more information about available models and their capabilities.

官方原文和授权

本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。

来源、授权与修改

本站保留许可证、固定提交号、社区作者和修改说明,不代表 n8n 对本站背书。

查看许可证查看来源和修改说明