图层工具:ZhipuGLM4(高级)

节点功能:用于接入智谱 AI 的 GLM-4 系列大模型 的文本生成。LayerUtility: ZhipuGLM4(Advance)-
节点中英文对比
图层工具:ZhipuGLM4(高级)
  • history
  • text
  • history
  • model
    user_prompt
    history_length
    LayerUtility: ZhipuGLM4(Advance)
  • history
  • text
  • history
  • model
    user_prompt
    history_length
    图层工具:ZhipuGLM4(高级) - 参数说明
    输入参数
    history
    历史对话内容,用于保持多轮上下文。
    输出参数
    text
    模型生成的文本回复。
    history
    更新后的对话历史(包括当前用户提问与模型回复)。
    控件参数
    model
    所调用的智谱 GLM 文本模型。可选项:GLM-4-Flash, GLM-4-FlashX, GLM-4-Plus, GLM-4-Long, GLM-4-Air, GLM-4-AirX。
    user_prompt
    用户输入的文本内容(问题或任务指令),支持多行。
    history_length
    历史记录截取的消息条数(每轮包含用户和模型各一条)。
    暂无节点说明
    节点列表 首页