Using Vector Database for OpenAI Assistant?

open-ai #vector-database

Goal
I am attempting to automate my Meal planning by having a weekly scenario that calls to OpenAi custom assistant that I created. This assistant has a #vdb vector database containing over 1500 recipes.

I have everything set up except I keep getting the response ‘database not found’ from the assistant output. I think this is because the openai module requires you to add a ‘file’ to the module for it to be used. And the file dropdown doesn’t include vdbs, so I am stuck.

Welcome to the Make community!

Vector databases are not supported by Make yet, as it’s a new feature.

I’m sure others would agree that this is a nice feature to have.

You can submit this suggestion to the Idea exchange.

Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
Screenshot_2024-01-17_130153

Join the Make unofficial Discord server!

3 Likes

That sounds awesome!

I believe you’ll need to retrieve the vector database first, Make has integrations with Pinecone or Mongo. There is also Milvus and Chroma which are open source so you can prolly figure out how to get their APIs and just webhook it.

If you do end up figuring it out would love to see how it works.

1 Like

You can do embedding and retrieval with pinecone:

Makeitfuture.

I understand that make removed the Create embeddings option, I tried to use the completion model text-embedding-ada-002 However, I have a problem recovering the vectors. How have you managed it currently?

Check the Create embed module on makemarket.