I typically use the OpenAI API along with Pinecone instead of the Assistants API. Querying Pinecone returns source and associated text which I pass to OpenAI as a text string like:
text: this is a test
As a part of the prompt along with a message to always cite the source. It doesn’t always do this though. How can I get the response to always cite the source it uses?