Rag and external db

Hi everyone,

I’m building an app on Bubble that allows users to create spaces where they can upload files and query them using specialized assistants. Currently, I’m generating embeddings and saving them in Bubble’s database. When a user interacts with the chat, I query the Bubble database for relevant information.

Now, I’m exploring ways to connect an external database to perform retrieval instead of relying solely on Bubble’s internal database.

Does anyone have experience with integrating external databases into a Bubble app for this purpose? Specifically, I’d like to:

Store and retrieve embeddings in/from the external database.

Ensure efficient querying and retrieval for the chat interactions.

Understand any limitations or best practices when working with external databases in Bubble.

Any advice, tools, or resources would be greatly appreciated! If you want to try my app feel free to contact me!

Thank you!

All you need is an API connection. XANO being the most popular external DB for bubble. The support Vectors on a very pricey plan – but the rest is included in the free plan