Files
autogen/test
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-04-05 02:26:06 +00:00
2024-06-10 18:23:51 +00:00
2024-05-14 07:14:37 +00:00
2024-04-15 12:34:26 +00:00
2024-04-05 02:26:06 +00:00
2024-04-05 02:26:06 +00:00
2024-06-10 18:23:51 +00:00
2024-04-05 02:26:06 +00:00
2024-04-05 02:26:06 +00:00