Hey, so I’ve got this workflow where questions from a chat are sent to my OpenAI assistant, which then does a search in Pinecone for some data, etc. That’s all good, but I’m having an issue with the HTTP requests to OpenAI.
I wanted it to always use the same thread to keep the conversation context for each lead that sends stuff in the chat, but it seems like it’s mixing up the conversations. The JSON that arrives at the first OpenAI node doesn’t have a sessionId—it’s a post from my backend, and it doesn’t generate this sessionId. Could that be the problem? Do I need both the threadId and the sessionId? I don’t get the difference. Can someone shed some light on this?
Also curious why you are using a pinecone vector store instead of handling that through openai directly. If you log into their platform you can upload documents there directly. I’ve found the results to be pretty good for this.