AIAnytime / AIAnytime/Chat-with-PDF-Chatbot

pydantic error

Abierto
#11 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
176
Forks
121
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
warn("The installed version of bitsandbytes was compiled without GPU support. "
'NoneType' object has no attribute 'cadam32bit_grad_fp32'
Creating embeddings. May take some minutes...
Traceback (most recent call last):
File "D:\chatpdf\Chat-with-PDF-Chatbot\ingest.py", line 32, in
main()
File "D:\chatpdf\Chat-with-PDF-Chatbot\ingest.py", line 25, in main
db = Chroma.from_documents(texts, embeddings, persist_directory=persist_directory, client_settings=CHROMA_SETTINGS)
File "%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\vectorstores\chroma.py", line 613, in from_documents
return cls.from_texts(
File "%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\vectorstores\chroma.py", line 568, in from_texts
chroma_collection = cls(
File "%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\vectorstores\chroma.py", line 126, in __init__
self._collection = self._client.get_or_create_collection(
File "%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\chromadb\api\local.py", line 141, in get_or_create_collection
return self.create_collection(
File "%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\chromadb\api\local.py", line 111, in create_collection
return Collection(
File "%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\chromadb\api\models\Collection.py", line 52, in __init__
self._client = client
File "%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\pydantic\main.py", line 768, in __setattr__
if self.__pydantic_private__ is None or name not in self.__private_attributes__:
File "%USERPROFILE%\AppData\Local\Programs\Python\Python310\lib\site-packages\pydantic\main.py", line 756, in __getattr__
return super().__getattribute__(item) # Raises AttributeError if appropriate
AttributeError: 'Collection' object has no attribute '__pydantic_private__'. Did you mean: '__pydantic_complete__'?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.