Anthropic 节点#
¥Anthropic node
使用 Anthropic 节点实现 Anthropic 中的自动化操作,并将 Anthropic 与其他应用集成。n8n 内置支持 Anthropic 的多种功能,包括分析、上传、获取和删除文档、文件和图片,以及生成、改进或模板化提示。
¥Use the Anthropic node to automate work in Anthropic and integrate Anthropic with other applications. n8n has built-in support for a wide range of Anthropic features, including analyzing, uploading, getting, and deleting documents, files, and images, and generating, improving, or templatizing prompts.
本页列出了 Anthropic 节点支持的操作列表以及更多资源的链接。
¥On this page, you'll find a list of operations the Anthropic node supports, and links to more resources.
操作#
¥Operations
- 文档:
¥Document:
-
分析文档:导入文档并回答相关问题。
¥Analyze Document: Take in documents and answer questions about them.
-
文件:
¥File:
-
上传文件:将文件上传到 Anthropic API 供其他用户使用。
¥Upload File: Upload a file to the Anthropic API for later user.
-
获取文件元数据从 Anthropic API 获取文件元数据
¥Get File Metadata: Get metadata for a file from the Anthropic API.
-
列表文件:列出 Anthropic API 中的文件。
¥List Files: List files from the Anthropic API.
-
删除文件:从 Anthropic API 中删除文件。
¥Delete File: Delete a file from the Anthropic API.
-
图片:
¥Image:
-
分析图片:导入图片并回答相关问题。
¥Analyze Image: Take in images and answer questions about them.
-
提示:
¥Prompt:
-
生成提示:生成模型提示
¥Generate Prompt: Generate a prompt for a model.
-
改进提示:改进模型提示。
¥Improve Prompt: Improve a prompt for a model.
-
模板化提示:为模型生成模板化的提示。
¥Templatize Prompt: Templatize a prompt for a model.
-
文本:
¥Text:
-
消息模型:使用 Anthropic 模型创建补全功能
¥Message a Model: Create a completion with an Anthropic model.
模板和示例#
¥Templates and examples
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Anthropic 文档。
¥Refer to Anthropic's documentation for more information about the service.
What to do if your operation isn't supported#
If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.
You can use the credential you created for this service in the HTTP Request node:
- In the HTTP Request node, select Authentication > Predefined Credential Type.
- Select the service you want to connect to.
- Select your credential.
Refer to Custom API operations for more information.