Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with chromadb, model_fields #84

Open
jakeshs12 opened this issue Aug 20, 2024 · 1 comment
Open

Error with chromadb, model_fields #84

jakeshs12 opened this issue Aug 20, 2024 · 1 comment

Comments

@jakeshs12
Copy link

jakeshs12 commented Aug 20, 2024

Prompt:

Agent 0: Using tool 'knowledge_tool':
Question: What are the latest updates or known issues with the chromadb library version 0.4.2?

Initializing VectorDB...

{
"system_error": "Traceback (most recent call last):
File "C:\Users\jakes\anaconda3\Lib\site-packages\chromadb\db\mixins\sysdb.py", line 257, in create_collection
ParameterValue(self.uuid_to_db(collection["id"])),
~~~~~~~~~~^^^^^^
File "C:\Users\jakes\anaconda3\Lib\site-packages\chromadb\types.py", line 95, in getitem
if key in self.model_fields:
^^^^^^^^^^^^^^^^^
AttributeError: 'Collection' object has no attribute 'model_fields'

AttributeError: 'Collection' object has no attribute 'model_fields'"
}

Running into this error when agent tries to use the knowledge_tool and, I'm assuming, failing to access the web. Would love to know if I am using the right library versions.

Name: langchain-chroma
Version: 0.1.2
Name: chromadb
Version: 0.4.2
Python 3.11.2

Beginner programmer but love agent zero so far, would love to give it web capability.

@jpetro416
Copy link

I'm also seeing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants