mirror of https://github.com/microsoft/autogen.git
bf7e4d619c
* 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> |
||
---|---|---|
.. | ||
agentchat | ||
cache | ||
coding | ||
io | ||
oai | ||
test_files | ||
conftest.py | ||
test_browser_utils.py | ||
test_code_utils.py | ||
test_function_utils.py | ||
test_graph_utils.py | ||
test_logging.py | ||
test_notebook.py | ||
test_pydantic.py | ||
test_retrieve_utils.py | ||
test_token_count.py | ||
twoagent.py |