You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, came across the repo and am excited to test it out. I'm unable to get in running and am hoping to have some clarity on what configuration is needed.
Here are the steps I've done:
Create a conda environment with Python 3.10: conda create -n autogen-demo python=3.10
Activate the conda environment: conda activate autogen-demo
Install AutoGen with Retrievechat option: pip install "pyautogen[retrievechat]"
Run: python app.py
Here are the results I get, it seems to be issues with the imports:
File "/.../autogen-demo/app.py", line 9, in <module>
from autogen.retrieve_utils import TEXT_FORMATS, get_file_from_url, is_url
File "/Users/.../miniconda3/envs/autogen-poc/lib/python3.10/site-packages/autogen/retrieve_utils.py", line 8, in <module>
from chromadb.api import API
ImportError: cannot import name 'API' from 'chromadb.api' (/Users/.../miniconda3/envs/autogen-poc/lib/python3.10/site-packages/chromadb/api/__init__.py)
Any suggestions?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi @austinhumes-valtech , thanks for reaching out. chromadb just have a new release with classname changed, this is the root cause of the failure. I had a PR microsoft/autogen#435 to fix it. Before the new autogen is released, please install "chromadb<0.4.15".
You can also update your step 3 with run pip install -r requirements.txt in the root folder of this repo.
Hi, came across the repo and am excited to test it out. I'm unable to get in running and am hoping to have some clarity on what configuration is needed.
Here are the steps I've done:
conda create -n autogen-demo python=3.10
conda activate autogen-demo
pip install "pyautogen[retrievechat]"
python app.py
Here are the results I get, it seems to be issues with the imports:
Any suggestions?
Thanks!
The text was updated successfully, but these errors were encountered: