https://discord.gg/botpress logo
Personally, I use PostgreSQL from
# 🌎general
c
Personally, I use PostgreSQL from Supabase with the Vectors extension.
w
do you thinks its better than Botpress Tables? and if though, how to use it with botpress as a DB? any Tutorials? (and if it is, i will try it in the autonomous node)
c
You can consume the Database from an external API by using FastAPI in Python (https://fastapi.tiangolo.com/) or Express in Javascript (https://expressjs.com/) along with it's respective SDKs (https://supabase.com/docs/guides/api/rest/client-libs). The advantages are that you can manipulate the data in a custom way, and optimize vector search process as needed. I personally use OpenAI Embeddings (https://platform.openai.com/docs/guides/embeddings)
For the API you can use any programming language and Framework or Library you are familiar with or serves a better purpose for you, just make sure Supabase has a Library for it (remember that most of them are community supported). Also, you have some alternatives to OpenAI, such as LangChain (https://www.langchain.com/)
16 Views