Add support to customized vectordb and embedding functions (#161)

* Add custom embedding function

* Add support to custom vector db

* Improve docstring

* Improve docstring

* Improve docstring

* Add support to customized is_termination_msg fucntion

* Add a test for customize vector db with lancedb

* Fix tests

* Add test for embedding_function

* Update docstring
This commit is contained in:
Li Jiang
2023-10-10 20:53:18 +08:00
committed by GitHub
parent 37a07a83c3
commit fa6e2a52c0
6 changed files with 192 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ jobs:
python -m pip install --upgrade pip wheel
pip install -e .
python -c "import autogen"
pip install -e.[mathchat,retrievechat] datasets pytest
pip install -e.[mathchat,retrievechat,test] datasets pytest
pip uninstall -y openai
- name: Test with pytest
if: matrix.python-version != '3.10'