OpenAI Assistants - Vector Store

Hi ,

I’m having an issue with my OpenAI Assistant and I’m hoping someone can help. I created an Assistant and uploaded several files to its Vector Store. When I test the Assistant directly in the OpenAI Playground, it works perfectly and uses the information from the files to answer my questions.

However, the problem arises when I try to access the Assistant from an external webpage. I’m using JavaScript to send queries through a chat, but the Assistant doesn’t seem to be accessing the information in the Vector Store. It answers my questions, but without using the data I uploaded.

Has anyone else experienced this issue? Are there any additional configurations I need to make in the Assistant or in my JavaScript code to get it working properly?

3 Likes

Hello and welcome to the community!

Usually if you only send message from the UI it should affect “the configuration” of the assistant.

Do you have code to share that would extremely help to debug?

You can look at how I do it on my side chatbot-sdk/packages/react/src/use-assistant.ts at main · OpenAssistantGPT/chatbot-sdk · GitHub

1 Like