Feature Request: Improvements to OpenAI Assistant Node in n8n
Overview:
This feature request proposes an enhancement for the OpenAI Assistant node within the n8n platform. The key improvement involves the ability to maintain conversation continuity and diversity by connecting messages to specific threads.
Current Node Interface:
The current interface includes assistantId parameter. However, it lacks the functionality to manage conversational threads effectively.
Requested Enhancements:
Thread Management: Integrate the capability to attach incoming messages to particular threads. This feature would enable the node to maintain the flow of conversations over time, creating a more coherent interaction experience.
API Reference: The implementation should be in line with the guidelines provided in the OpenAI API documentation, particularly focusing on the threads section.
Intended Benefits:
With these enhancements in place, the OpenAI Assistant node within n8n will significantly improve its capability to manage intricate, continuous conversations.
My two cents on this matter: In Zapier, for the model to continue the conversation, they use emails as a ‘Memory Key’ as well as a field to include the ‘user message’ that the model uses to respond. This allows the model to follow up on the previous conversation
@jan Even though the N8N OpenAI Message node (Using OpenAI assistant) does output the OpenAI ThreadID, that ThreadID value is not passed into subsequent OpenAI messages, thereby creating a new OpenAI thread for every Message sent.
Hey everyone, sorry it took so long. It’s coming soon: the PR is about to be reviewed, so it should be in the next minor release(1.63). In OpenAI’s assistant message operation, you’ll have the option to switch between “Use memory connector” and “Use thread ID.”