AIAnytime / AIAnytime/Chat-with-PDF-Chatbot

raise ValueError(LEGACY_ERROR) ValueError: You are using a deprecated configuration of Chroma.

Offen
#18 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
176
Forks
121
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Getting error:
raise ValueError(LEGACY_ERROR) ValueError: You are using a deprecated configuration of Chroma.
while runnig ingest.py

These are the versions i have installed:

streamlit==1.24.0
langchain==0.0.354
transformers==4.36.2
torch==2.1.2
einops==0.6.1
bitsandbytes==0.41.1
accelerate==0.21.0
pdfminer.six==20221105
bs4==0.0.1
sentence_transformers
duckdb==0.7.1
chromadb==0.4.22
beautifulsoup4==4.12.2
sentence-transformers==2.2.2
sentencepiece==0.1.99
six==1.16.0
requests==2.31.0
uvicorn==0.25.0
torchvision==0.16.2
streamlit-chat==0.1.1
pypdf

And Then found one solution to slove the above error by Downgrading chromadb version to 0.3.29
Here again facing some error:

Building wheel for hnswlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for hnswlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'hnswlib' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hnswlib
Failed to build hnswlib
ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects

CAN ANYONE HELP ME TO SOLVE THE ERROR

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.