Agent vector databases
Vector databases store embeddings and enable semantic retrieval for Agent knowledge.
In Budibase, vector databases are configured in AI Configs and then assigned to each Agent in the Knowledge tab.
Supported provider
Currently we only support pgvector as a provider.
Configure a vector database
- Open Workspace Settings
- Go to AI Configs
- Click on the Embeddings tab
- In Vector databases, click Add database
- Enter connection settings:
- Name
- Provider (defaulted to pgvector)
- Host
- Port
- Database
- User
- Password
- Save and confirm the database appears in the list
Attach a vector database to an Agent
- Open your Agent
- Go to the Knowledge tab
- Select a Vector database
- Select an Embedding model
- Save
After both are selected, you can tune:
- Minimum similarity
- Chunks to retrieve
You can then add files/knowledge content in the same area to support retrieval.
Related guides
Updated about 4 hours ago