OpenAI Custom GPT and Vector Databases

Has anyone connected your custom GPT with a vector database like Pinecone?
If you have:

  1. What was your best setup/approach?
  2. How do you get rid of it constantly confirming talking to the db at every question asked?

You can build an api talk to a vector db and have it connected to your Custom GPT

Yes I’ve already done it but what is the best approach to feed the info back to the custom GPT? What middleware is best and in what way?

Im not trying to put it on a random website. that is easy. I’m trying to send from the vector db back to the custom GPT inside openAI