节点与集成
Conversation operations
Use this operation to create, get, update, or remove a conversation in OpenAI. Refer to OpenAI for more information on the OpenAI node itself.
Create a Conversation
Use this operation to create a new conversation.
Enter these parameters:
- Credential to connect with: Create or select an existing OpenAI credential.
- Resource: Select Conversation.
- Operation: Select Create a Conversation.
- Messages: A message input to the model. Messages with the
systemrole take precedence over instructions given with theuserrole. Messages with theassistantrole will be assumed to have been generated by the model in previous interactions.
Options
- Metadata: A set of key-value pairs for storing structured information. You can attach up to 16 pairs to an object, which is useful for adding custom data that can be used for searching via the API or in the dashboard.
Refer to Conversations | OpenAI documentation for more information.
Get a Conversation
Use this operation to retrieve an existing conversation.
Enter these parameters:
- Credential to connect with: Create or select an existing OpenAI credential.
- Resource: Select Conversation.
- Operation: Select Get Conversation.
- Conversation ID: The ID of the conversation to retrieve.
Refer to Conversations | OpenAI documentation for more information.
Remove a Conversation
Use this operation to remove an existing conversation.
Enter these parameters:
- Credential to connect with: Create or select an existing OpenAI credential.
- Resource: Select Conversation.
- Operation: Select Remove Conversation.
- Conversation ID: The ID of the conversation to remove.
Refer to Conversations | OpenAI documentation for more information.
Update a Conversation
Use this operation to update an existing conversation.
Enter these parameters:
- Credential to connect with: Create or select an existing OpenAI credential.
- Resource: Select Conversation.
- Operation: Select Update a Conversation.
- Conversation ID: The ID of the conversation to update.
Options
- Metadata: A set of key-value pairs for storing structured information. You can attach up to 16 pairs to an object, which is useful for adding custom data that can be used for searching via the API or in the dashboard.
Refer to Conversations | OpenAI documentation for more information.
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。