Comments (8)
Hey @yuri12344,
I am not fully following what the issue is here, Are you able to provide an example workflow? I would kind of expect any thread history to only be available when using the chat option or memory which it sounds like is working as expected.
It would be interesting to see what you are actually doing so we can work out if it should use an existing thread or not.
from n8n.
@Joffcom I have made a video about it, I think it shows better, just 3 mins videos, check it out please
https://youtu.be/VayYhBoWWDM
from n8n.
Just simple workflow
My_workflow.json
from n8n.
Agree. This is an issue. Same Chat should not create a new Thread in OpenAI.
By using the same thread we do not need to resend all conversation again. This is already stored in the thread.
https://platform.openai.com/docs/api-reference/threads/object
from n8n.
I have taken a quick look and I can see the issue, When using chat the node takes the inputs in a different way as we expect the session / thread to be stored / used but on manual messages we don't currently support passing in that input.
Technically this is a feature request not a bug as it is working as intended but I have created NODE-1357
as the internal dev ticket to have this added as it could be a fairly quick change when we next look to touch that node.
from n8n.
But this also happens when using the chat model.
There is a new thread created on each reply (2 messages).
The logic should be:
New chat --> create thread
New message (On the Same chat/session ) --> update Thread
This model removes the memory element because history is stored in the thread openai
from n8n.
Hey @gvargas9,
Is that when using the chat model with the AI Assistant? Looking at the video when using the chat input with the assistant it appeared to remember the name.
from n8n.
I have just reaslised that this is actually a duplicate of an existing feature request which can be found here: https://community.n8n.io/t/memory-functionality-missing-from-openai-assistant-node/34747/17
As this exists on the forum and to save on duplication I am acutally going to close this issue and I will link the feature request to the internal ticket.
from n8n.
Related Issues (20)
- OpenAI Assistant & gpt4-o HOT 9
- Accessing Ticket Object ID in Hubspot Trigger Node HOT 3
- 1.41.0 - Bug: Number of Executions Shown in Side Panel is Limited to 10 at a Time HOT 6
- ERROR: The DNS server returned an error, perhaps the server is offline HOT 2
- OpenAI Assistant - The requested model ‘gpt-4o’ cannot be used with the Assistants API in v1 HOT 1
- HTTP Request / OpenSSL Error HOT 3
- "Convert to HTML Table" Does Not Add the "Row Attributes" Option HOT 2
- workflows.map is not a function HOT 2
- Renaming the node by leaving the name field empty causes unexpected behavior HOT 5
- Can you add options for multi-branch parallel execution and for nodes to continue the workflow execution even if an error occurs? HOT 1
- Error: HTTP status 403 HOT 7
- Node Max Tries / Wait Values Limits Too Low HOT 7
- Ask AI is not present in the Code node on self-hosted Docker ver 1.41.1 HOT 3
- Pagination Does Not Reset When Re-Testing Node HOT 1
- NPM - Esm modules are not supported, dynamic (async) import fails HOT 6
- http node executes "successfully" but error is returned HOT 3
- Webhook only work in test mode... HOT 3
- IF issue. Wrong type ' NNN' is a string but was expecting a number HOT 1
- RabbitMQ Workflow had to be deactivated HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n8n.