phidata
phidata copied to clipboard
Add ChromaDB knowledge base
Hi guys,
Tried implementing this feature, however I'm getting stuck at the following mypy test:
error: Function "chromadb.Client" is not valid as a type [valid-type]
@property
def client(self) -> chromadb.Client:
if self._client is None:
return chromadb.Client(
namespace=self.namespace,
hostname=self.hostname,
port=self.port,
headers=self.headers,
ssl=self.ssl,
)
return self._client
@hoxsec Thanks for contributing! Why don't you create a PR so that I can take a look at this
Thanks @ysolanky, PR created. https://github.com/phidatahq/phidata/pull/196
ChromaDb was released as a part of v2.4.27 :)