Code
cookbook/models/ibm/watsonx/knowledge.py
Usage
Set up PostgreSQL with pgvector
You need a PostgreSQL database with the pgvector extension installed. Adjust the
db_url in the code to match your database configuration.pgvector, pypdf, etc.) and have a PostgreSQL database with the pgvector extension available.