Skip to content

0.7.0

Compare
Choose a tag to compare
@choccccy choccccy released this 11 Jan 20:33
· 88 commits to main since this release
5f32785

What's changed

Added

  • Command line options for demo/chat_web_selects.py
  • Helper for folks installing on Apple Silicon: constraints-apple-silicon.txt
  • Function calling demo
  • ogbujipt.embedding.pgvector_message.insert_many()

Changed

  • Improved use of PGVector helper SQL query parameters
  • PGVector helper search(query_tags=[..]) now uses contains operator (filters by existence in tag sets), not the same as where tags are OR
  • PGVector helper search can now be set to work conjunctively or disjunctively
  • PGVector helper query now has threshold arg based on degree of similarity. limit default now unlimited. Use SQL query args for query_embedding.
  • embedding.pgvector split into a couple of modules.
  • Separated data-style PGVector DBs from doc-style. tags is no longer the final param for PGVector docs helper methods & some params renamed.
  • PGVector helper method results now as attr_dict
  • PGVector helper now uses connection pooling & is more multiprocess safe
  • ogbujipt.embedding.pgvector_chat renamed to ogbujipt.embedding.pgvector_message
  • DB MIGRATION REQUIRED - ogbujipt.embedding.pgvector_message table schema

Fixed

  • insert_many PGVector helper method; semantics & performance
  • demo/chat_web_selects.py & demo/chat_pdf_streamlit_ui.py (formerly non-functional)
  • Tests & CI for PGVector helper