Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to AGiXT, focusing on transitioning from ChromaDB to pgvector for vector storage and adding a new MSSQL database extension. The most important changes are the introduction of the pgvector client, the migration script, and the new MSSQL database extension.
Transition from ChromaDB to pgvector:
agixt/Memories.py
: Replaced ChromaDB client with pgvector client throughout the file, including methods likeget_pgvector_client
,wipe_memory
,get_collection
,write_text_to_memory
, andget_memories_data
. [1] [2] [3] [4] [5] [6]agixt/extensions/pgvector_database.py
: Introduced thepgvector_database
class to handle vector storage and retrieval using PostgreSQL with pgvector.agixt/migrations/migrate_to_pgvector.py
: Added a migration script to move data from ChromaDB to pgvector.New MSSQL Database Extension:
agixt/extensions/mssql_database.py
: Added a new extension to interact with Microsoft SQL Server, including methods for executing custom SQL queries, retrieving database schema, and chatting with the database using natural language.Dockerfile update:
Dockerfile
: Addedunixodbc
andunixodbc-dev
packages to the list of installed packages.This PR is for #1361 and #1353