chatgpt-retrieval-plugin
chatgpt-retrieval-plugin copied to clipboard
Add PostgreSQL pgvector datastore
Closes #36 by adding PostgreSQL pgvector as a datastore option.
- Supports any PostgreSQL standard connection (self-hosted or hosted providers)
- Uses SQAlchemy for abstraction
- Uses a
JSONB
field for metadata - Do not create indexes on table setup, per https://github.com/pgvector/pgvector/issues/77
- Implements integration tests
- End to end tested with a ChatGPT Plugin loaded with OpenAI's documentation

Thanks for the review @isafulf! I addressed your comments and will run an end-to-end test of the plugin soon.