Files
autogen/test/agentchat
Audel Rouhi bf7e4d619c Bugfix: PGVector/RAG - Calculate the Vector Size based on Model Dimensions (#2865)
* Calculate the dimension size based off model chosen.

* Added example docstring.

* Validated working notebook with sentence models of different dimensions.

* Validated removal of model_name working.

* Second example uses conn object.

* embedding_function no longer directly references .encode

* Fixed pre-commit issue.

* Use try/except to raise error when shape is not found in embedding function.

* Re-ran notebook.

* Update autogen/agentchat/contrib/vectordb/pgvectordb.py

Co-authored-by: Li Jiang <bnujli@gmail.com>

* Update autogen/agentchat/contrib/vectordb/pgvectordb.py

Co-authored-by: Li Jiang <bnujli@gmail.com>

* Added .encode

* Removed example comment.

* Fix overwrite doesn't work with existing collection when custom embedding function has different dimension from default one

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-06-11 12:16:56 +00:00
..
2024-03-19 02:55:37 +00:00
2024-04-17 20:10:18 +00:00
2024-04-05 02:26:06 +00:00
2024-04-17 20:10:18 +00:00
2024-04-17 20:10:18 +00:00
2024-04-17 20:10:18 +00:00
2024-04-05 02:26:06 +00:00
2024-04-17 20:10:18 +00:00
2024-04-17 20:10:18 +00:00
2024-04-05 02:26:06 +00:00
2023-09-16 10:57:57 +00:00