# Integrating to vector databases

**URL:** <https://community.glideapps.com/t/integrating-to-vector-databases/61375>\
**Category:** Ask for Help\
**Created:** [May 5, 2023, 6:41am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375 "2023-05-05T06:41:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bradley\_Gibson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bradley_gibson/32/58297_2.png) [@Bradley\_Gibson](https://community.glideapps.com/u/Bradley_Gibson)\
**Post date:** [May 5, 2023, 6:41am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/1 "2023-05-05T06:41:46Z")

</div>

As we all know vector databases and AI is going to take over the business landscape.

Here is a question to the community. Do any of you have an idea of how we can implement this to take advantage of the coming gold rush.

I don’t think the AI chat part will be a viable solution. But maybe we can leverage our systems to upload the rows and documents to the vector databases where clients will be able to connect their chatgpt accounts to it once the weviate gpt app releases.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 5, 2023, 6:49am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/2 "2023-05-05T06:49:46Z")

</div>

For those like me who had never heard of vector databases:

> We all know how traditional databases work (more or less)—they store strings, numbers, and other types of scalar data in rows and columns. On the other hand, a vector database operates on vectors, so the way it’s optimized and queried is quite different.
> 
> In traditional databases, we are usually querying for rows in the database where the value usually exactly matches our query. In vector databases, we apply a similarity metric to find a vector that is the **most similar** to our query.
> 
> A vector database uses a combination of different algorithms that all participate in Approximate Nearest Neighbor (ANN) search. These algorithms optimize the search through hashing, quantization, or graph-based search.

[Source](https://www.pinecone.io/learn/vector-database/)

---

<div class="post-metadata">

**Author:** ![Bradley\_Gibson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bradley_gibson/32/58297_2.png) [@Bradley\_Gibson](https://community.glideapps.com/u/Bradley_Gibson)\
**Post date:** [May 5, 2023, 6:53am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/3 "2023-05-05T06:53:02Z")

</div>

Yeah sorry, so vector databases are going to be used to give LLM’s(ChatGPT) context about your company.

When you speak to ChatGPT now it has no context of what is going on in your company/life. With the new vector databases you will be able to upload files and information to it and ask ChatGPT questions about your own data.

Lets say you have a law firm and have a case file of 400 pages. You can upload it to the database and ask chatgpt questions about it or to summarize key parts.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 5, 2023, 11:09pm UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/4 "2023-05-05T23:09:13Z")

</div>

It’s an interesting question, I assume you are talking about things like Pinecone?

It’s gonna be big, sure, but at the moment I don’t think we have a good way to integrate it.

Glide does have an OpenAI action to ask a question about a table, where they vectorize your table and retrieve the most relevant 5 rows to answer your question, that’s the closest thing we have.

If only we can do something like: Upload a file \> Store vectors in a database \> Be able to tell OpenAI to tokenize our question, and use knowledge in those vectors to answer the question, all through the API, then that would be great.

---

<div class="post-metadata">

**Author:** ![Bradley\_Gibson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bradley_gibson/32/58297_2.png) [@Bradley\_Gibson](https://community.glideapps.com/u/Bradley_Gibson)\
**Post date:** [May 6, 2023, 9:09am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/5 "2023-05-06T09:09:27Z")

</div>

I imagine a world where Glide does this natively, we can enter our api keys and boom. Its set up.

Just Press CMD + K and ask your companies personal AI questions about your data.

I would kiss some feet if they could make this happen

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 6, 2023, 12:45pm UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/6 "2023-05-06T12:45:43Z")

</div>

On the one hand I find AI integrations in Glide exciting, on the other I hope we can all tread this path with caution.

Somehow I hope Glide will act responsibly and not blindly integrate things left and right.

Sorry for being a party pooper, but a big concern with the current AI race is if the downsides of everyone having nuclear and bio weapons in their pocket (AI) undermines its benefits (the same AI).

[The AI Dilemma](https://youtu.be/xoVJKj8lcNQ)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 7, 2023, 12:13am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/7 "2023-05-07T00:13:14Z")

</div>

Of course there should always be caution with such powerful technology. OpenAI, or Midjourney, though how powerful they are, have had moments for us to think how we should approach this new era.

For me, I think the right word is “move at the right pace”. Don’t slow it down too much, or worse, give it a break, just keep it moving, but put the right guardrails to keep it in check.

---

<div class="post-metadata">

**Author:** ![Teejay\_Oyeniran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teejay_oyeniran/32/61251_2.png) [@Teejay\_Oyeniran](https://community.glideapps.com/u/Teejay_Oyeniran)\
**Post date:** [May 3, 2025, 9:07am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/8 "2025-05-03T09:07:36Z")

</div>

Hello, have there been a solution to this?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 3, 2025, 9:08am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/9 "2025-05-03T09:08:01Z")

</div>

Pinecone is an integration in Glide now.

---

<div class="post-metadata">

**Author:** ![Teejay\_Oyeniran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teejay_oyeniran/32/61251_2.png) [@Teejay\_Oyeniran](https://community.glideapps.com/u/Teejay_Oyeniran)\
**Post date:** [May 3, 2025, 4:10pm UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/10 "2025-05-03T16:10:49Z")

</div>

Thank you, but this has nothing to do with pinecone though.

> [@Need help: OpenAI assistants with GlideApps](https://community.glideapps.com/t/need-help-openai-assistants-with-glideapps/81688):
>
> l’m seeking to build an app that enable users to interact with pre-defined OpenAI assistants and vector stores. Work done so far: l have successfully connected the app to OpenAI integration… the basic workflow of the integration is done. The biggest pieces that need help: User management and access to the different Assistants. and connecting the assistants to the OpenAI API (I already have the Vector Stores and Assistants configured on the OpenAI platform). I currently have 3 assistants th…

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 4, 2025, 4:43am UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/11 "2025-05-04T04:43:47Z")

</div>

Is there a reason you don’t want to use Pinecone?

---

<div class="post-metadata">

**Author:** ![Teejay\_Oyeniran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/teejay_oyeniran/32/61251_2.png) [@Teejay\_Oyeniran](https://community.glideapps.com/u/Teejay_Oyeniran)\
**Post date:** [May 6, 2025, 3:10pm UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/12 "2025-05-06T15:10:23Z")

</div>

The files were already uploaded on a specific vector store object within the OpenAI account .  
I just want the OpenAI assistant to recite and cite content from the files during a chat.

I believe this has been done before…  
I just need direction on how.

---

<div class="post-metadata">

**Author:** ![c0bbler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/c0bbler/32/68741_2.png) [@c0bbler](https://community.glideapps.com/u/c0bbler)\
**Post date:** [May 6, 2025, 6:01pm UTC](https://community.glideapps.com/t/integrating-to-vector-databases/61375/13 "2025-05-06T18:01:33Z")

</div>

You can read the docs on the OpenAI integration and Glide here: [https://www.glideapps.com/docs/automation/integrations/openai-and-glide](https://www.glideapps.com/docs/automation/integrations/openai-and-glide)

I’m not sure there is a native integration for assistants from Open AI, but there are other platforms you may use to integrate such as [make.com](http://make.com) to proxy requests to Open AI that are specific to your assistant use case.

We’ve had an ongoing discussion regarding Pinecone integrations and examples here: [Pinecone & AI agent examples](https://community.glideapps.com/t/pinecone-ai-agent-examples/80370) should you find you want to use the native integration with vector stores hosted by Pinecone. Note there is a lot you can do for free, and there is an OpenAI model used for embeddings provided by Pinecone as well, so you may find you get the same results but with an easier integration. By sharing this I’m also assuming you have data in Glide that you can re-index to Pinecone (achievable with a looping workflow).

Let us know what else you might want some help with.
