Relative Content

Tag Archive for phpopenai-apiopenai-assistants-api

Why isn’t OpenAI API Assistant aware of my vector store

I have an assistant configured with openai api v2 using gpt-4o. The assistant is linked to a vector store containing pdf documents. When testing the assistant in the openai playground it replies based on the content in the pdf documents. However, when setting up communication with the assistant through the OpenAI API the assistant is unaware of the vector store in the replies. After reading forums and documentation for days I’m still not able to figure out why this is happening. Below is my php code for this setup