Comments (3)
Traceback as below
Traceback (most recent call last):
File "/home/username/project_name/venv/lib/python3.10/site-packages/gradio/queueing.py", line 501, in call_prediction
output = await route_utils.call_process_api(
File "/home/username/project_name/venv/lib/python3.10/site-packages/gradio/route_utils.py", line 252, in call_process_api
output = await app.get_blocks().process_api(
File "/home/username/project_name/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1664, in process_api
result = await self.call_function(
File "/home/username/project_name/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1205, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/username/project_name/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/home/username/project_name/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "/home/username/project_name/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
File "/home/username/project_name/venv/lib/python3.10/site-packages/gradio/utils.py", line 702, in wrapper
response = f(*args, **kwargs)
File "/home/username/project_name/h2ogpt/src/gradio_runner.py", line 6702, in get_source_files_given_langchain_mode_gr
return get_source_files_given_langchain_mode(db1s, selection_docs_state1, requests_state1, None,
File "/home/username/project_name/h2ogpt/src/gpt_langchain.py", line 8112, in get_source_files_given_langchain_mode
db = get_any_db(db1s, langchain_mode, langchain_mode_paths, langchain_mode_types,
File "/home/username/project_name/h2ogpt/src/gpt_langchain.py", line 7639, in get_any_db
get_existing_db(db, persist_directory, load_db_if_exists, db_type,
File "/home/username/project_name/h2ogpt/src/gpt_langchain.py", line 4525, in get_existing_db
db.similarity_search('')
File "/home/username/project_name/venv/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 348, in similarity_search
docs_and_scores = self.similarity_search_with_score(
File "/home/username/project_name/venv/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 438, in similarity_search_with_score
results = self.__query_collection(
File "/home/username/project_name/venv/lib/python3.10/site-packages/langchain_core/utils/utils.py", line 35, in wrapper
return func(*args, **kwargs)
File "/home/username/project_name/venv/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 155, in __query_collection
return self._collection.query(
File "/home/username/project_name/venv/lib/python3.10/site-packages/chromadb/api/models/Collection.py", line 345, in query
query_results = self._client._query(
File "/home/username/project_name/venv/lib/python3.10/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper
return f(*args, **kwargs)
File "/home/username/project_name/venv/lib/python3.10/site-packages/chromadb/api/segment.py", line 717, in _query
records = metadata_reader.get_metadata(ids=list(all_ids))
File "/home/username/project_name/venv/lib/python3.10/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper
return f(*args, **kwargs)
File "/home/username/project_name/venv/lib/python3.10/site-packages/chromadb/segment/impl/metadata/sqlite.py", line 214, in get_metadata
return list(self._records(cur, q))
File "/home/username/project_name/venv/lib/python3.10/site-packages/chromadb/segment/impl/metadata/sqlite.py", line 223, in _records
cur.execute(sql, params)
sqlite3.OperationalError: no such column: embedding_metadata.bool_value
from h2ogpt.
Probably related to that. Seems to be a pure chroma db issue with your system.
from h2ogpt.
After deeper analysis appears to be an issue with the default python installation missing FTS5 support, causing the chromadb problem - so need to re-compile Python from source with ./configure --enable-loadable-sqlite-extensions CFLAGS="-DSQLITE_ENABLE_FTS5"
from h2ogpt.
Related Issues (20)
- GGML_ ASSERT: /private/var/folders/g0/p18kgc7d571crl09kq2j1hpm0000gp/T/pip-install-mmgwywty/llama-cpp-python_7e131ef142c044a6a72760eb49448fe4/ven dor/llama.cpp/ggml-backend.c:212: offset + size <= ggml_nbytes(tensor) && "tensor read out of bounds" Fatal Python error: Aborted HOT 23
- HYDE question HOT 12
- Improve UI for getting model list for OpenAI-compatible APIs using vllm_chat HOT 1
- Git Pull breaks install. What's the standard update process? HOT 2
- Is it possible to change the name of the ai models? HOT 1
- How can I create a REST API for Flutter SDK? HOT 2
- create Mock data from document? HOT 2
- Add capability to take soft prompt embedding instead of text embedding
- Question cut_distance vs document score HOT 1
- Error related with libpango when starting the application (Windows 11) HOT 1
- Document sources (.txt) not showing the correct HEAD value in table HOT 2
- Max output length: Maximum number of new tokens in LLM response in CLI Parameter? HOT 1
- What does H20GPT talk to? HOT 1
- [Question] 100k PDFs?! Is h2ogpt my solution? HOT 4
- How to --add_chat_history_to_context=True ? HOT 8
- Groq integration HOT 4
- option to delay startup and have inference servers keep trying until up instead of skipping them. HOT 1
- How to use exllama v2 with local GPTQ file ? HOT 3
- Failed base_model=h2oai/h2ogpt-4096-llama2-7b-chat HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h2ogpt.