- Install PostgreSQL and pgvector. Refer pgvector installation document.
- Create PostgreSQL database and table by following
cookbooks/db.ipynb
. - Prepare knowledge base data by following
cookbooks/prepare.ipynb
. - Query knowledge base data by following
cookbooks/query.ipynb
.