Duaer

集成

在 Duaer 里使用 Anthropic

在 Duaer 里,Anthropic 是 AI 根节点,可以接 工具(Tool) 子节点。

把 Anthropic 加到 Duaer 工作流程

  1. 在 Duaer 画布上打开节点面板,搜索 Anthropic,接在上一个节点后面。
  2. 在 Anthropic 下方的输入上接需要的子节点(Tool),先接「工具」(Tool)。
  3. 在 Credential to connect with 里选择或新建 Anthropic 凭证。见 Anthropic 凭证。
  4. 选 Resource 和 Operation。例如选 File 和 Get File Metadata。
  5. 填写这个操作显示的字段,例如 File ID。
  6. 点 Execute step,查看输出。

Duaer 里 Anthropic 的操作

Duaer 的 Anthropic 节点按资源分组提供这些操作:

  • Document:Analyze Document
  • File:Upload File、Get File Metadata、List Files、Delete File
  • Image:Analyze Image
  • Prompt:Generate Prompt、Improve Prompt、Templatize Prompt
  • Text:Message a Model

Duaer 里 Anthropic 可以接的子节点

在 Anthropic 下方的输入上接子节点:工具(Tool)。每个子节点有自己的凭证和设置。

在 Duaer 里把 Anthropic 当作 AI Agent 的工具

在 AI Agent 的「工具」(Tool)输入里搜索 Anthropic 并添加,由 Agent 决定什么时候调用。要让模型填写的字段,点字段旁的星形按钮,或写 $fromAI('name', '要填什么');固定值保持你设定的内容。

调用 Anthropic 节点没有的接口

加一个 HTTP Request 节点,Authentication 选 Predefined Credential Type,凭证类型选 Anthropic,再选同一份凭证。Duaer 会用它签名请求,你只需填方法和地址。见 自定义操作。

常见问题

Duaer 支持 Anthropic 的哪些操作?

Duaer 的 Anthropic 节点共有 10 个操作,覆盖 Document、File、Image、Prompt、Text。例如 Document 有 Analyze Document。

Duaer 的 Anthropic 用哪种凭证?

Duaer 的 Anthropic 使用 Anthropic 凭证。密钥保存在凭证里,不写进节点参数。

同组