chatgpt-retrieval-plugin icon indicating copy to clipboard operation
chatgpt-retrieval-plugin copied to clipboard

Add PostgreSQL pgvector datastore

Open mmmaia opened this issue 1 year ago • 1 comments

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
image

mmmaia avatar Mar 25 '23 22:03 mmmaia

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

mmmaia avatar Mar 30 '23 01:03 mmmaia