-
Notifications
You must be signed in to change notification settings - Fork 692
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
haystack.errors.FilterError: 'field' or 'value' not found for 'in' #1458
Comments
@Dharmik-Solanki could you also provide Wren AI version and config.yaml? thanks |
.env file: COMPOSE_PROJECT_NAME=wrenai PROJECT_DIR=. service portWREN_ENGINE_PORT=8080 ai service settingsQDRANT_HOST=qdrant vendor keysOPENAI_API_KEY= versionCHANGE THIS TO THE LATEST VERSIONWREN_PRODUCT_VERSION=0.17.0 user id (uuid v4)USER_UUID= for other servicesPOSTHOG_API_KEY=phc_nhF32aj4xHXOZb0oqr2cn4Oy9uiWzz6CCP4KZmRq9aE this is for telemetry to know the model, i think ai-service might be able to provide a endpoint to get the informationGENERATION_MODEL=gpt-4o-mini the port exposes to the hostOPTIONAL: change the port if you have a conflictHOST_PORT=3000 Wren UIEXPERIMENTAL_ENGINE_RUST_VERSION=false config file: you should rename this file to config.yaml and put it in ~/.wrenaiplease pay attention to the comments starting with # and adjust the config accordingly, 3 steps basically:1. you need to use your own llm and embedding models2. you need to use the correct pipe definitions based on https://raw.githubusercontent.com/canner/WrenAI/<WRENAI_VERSION_NUMBER>/docker/config.example.yaml3. you need to fill in correct llm and embedding models in the pipe definitionstype: llm
type: embedder
type: engine type: engine type: document_store please change the llm and embedder names to the ones you want to usethe format of llm and embedder should be .<model_name> such as litellm_llm.gpt-4o-2024-08-06the pipes may be not the latest version, please refer to the latest version: https://raw.githubusercontent.com/canner/WrenAI/<WRENAI_VERSION_NUMBER>/docker/config.example.yamltype: pipeline
settings:
|
In latest .env file's example you put the following( EXPERIMENTAL_ENGINE_RUST_VERSION ) to false but in launcher it shows true. if this is important then please check it once . |
Describe the bug
I'm running deepseek-r1 model with ollama. I followed step by step launching process via launcher app on windows.
After that i have selected sample e-commerce dataset as my database and asked example question after that it will display the process of loading. It throws the error after few minutes (around 2 minutes).
attaching the log of wren ai service below ,(Note : i have not include above repeated part here first 3 line is repeated part ).
log :
2025-03-25 14:45:51 INFO: 172.18.0.6:57090 - "GET /v1/question-recommendations/10c01a2d-a7d1-47de-b35f-5ba820312f60 HTTP/1.1" 200 OK
2025-03-25 14:45:52 INFO: 172.18.0.6:57102 - "GET /v1/question-recommendations/10c01a2d-a7d1-47de-b35f-5ba820312f60 HTTP/1.1" 200 OK
2025-03-25 14:45:53 INFO: 172.18.0.6:57104 - "GET /v1/question-recommendations/10c01a2d-a7d1-47de-b35f-5ba820312f60 HTTP/1.1" 200 OK
2025-03-25 14:45:53 I0325 09:15:53.273 8 wren-ai-service:482] Ask Retrieval pipeline is running...
2025-03-25 14:45:53 I0325 09:15:53.277 8 wren-ai-service:147] SqlPairs Retrieval pipeline is running...
2025-03-25 14:45:53 I0325 09:15:53.279 8 wren-ai-service:178] Instructions Retrieval pipeline is running...
2025-03-25 14:45:53 I0325 09:15:53.282 8 wren-ai-service:482] Ask Retrieval pipeline is running...
2025-03-25 14:45:53 I0325 09:15:53.284 8 wren-ai-service:147] SqlPairs Retrieval pipeline is running...
2025-03-25 14:45:53 I0325 09:15:53.286 8 wren-ai-service:178] Instructions Retrieval pipeline is running...
2025-03-25 14:45:53 I0325 09:15:53.287 8 wren-ai-service:482] Ask Retrieval pipeline is running...
2025-03-25 14:45:53 I0325 09:15:53.289 8 wren-ai-service:147] SqlPairs Retrieval pipeline is running...
2025-03-25 14:45:53 I0325 09:15:53.290 8 wren-ai-service:178] Instructions Retrieval pipeline is running...
2025-03-25 14:45:53
2025-03-25 14:45:53 ********************************************************************************
2025-03-25 14:45:53 > table_retrieval [src.pipelines.retrieval.retrieval.table_retrieval()] encountered an error<
2025-03-25 14:45:53 > Node inputs:
2025-03-25 14:45:53 {'embedding': "<Task finished name='Task-1410' coro=<AsyncGraphAd...",
2025-03-25 14:45:53 'project_id': '',
2025-03-25 14:45:53 'table_retriever': '<src.providers.document_store.qdrant.AsyncQdrantEm...',
2025-03-25 14:45:53 'tables': None}
2025-03-25 14:45:53 ********************************************************************************
2025-03-25 14:45:53 Traceback (most recent call last):
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/hamilton/async_driver.py", line 122, in new_fn
2025-03-25 14:45:53 await fn(**fn_kwargs) if asyncio.iscoroutinefunction(fn) else fn(**fn_kwargs)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 219, in async_wrapper
2025-03-25 14:45:53 self._handle_exception(observation, e)
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 520, in _handle_exception
2025-03-25 14:45:53 raise e
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 217, in async_wrapper
2025-03-25 14:45:53 result = await func(*args, **kwargs)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/pipelines/retrieval/retrieval.py", line 160, in table_retrieval
2025-03-25 14:45:53 return await table_retriever.run(
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/providers/document_store/qdrant.py", line 359, in run
2025-03-25 14:45:53 docs = await self._document_store._query_by_filters(
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/providers/document_store/qdrant.py", line 217, in _query_by_filters
2025-03-25 14:45:53 qdrant_filters = convert_filters_to_qdrant(filters)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/qdrant/filters.py", line 66, in convert_filters_to_qdrant
2025-03-25 14:45:53 current_filter = convert_filters_to_qdrant(item.get("conditions", []), is_parent_call=False) or []
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/qdrant/filters.py", line 86, in convert_filters_to_qdrant
2025-03-25 14:45:53 raise FilterError(msg)
2025-03-25 14:45:53 haystack.errors.FilterError: 'field' or 'value' not found for 'in'
2025-03-25 14:45:53
2025-03-25 14:45:53 ********************************************************************************
2025-03-25 14:45:53 > table_retrieval [src.pipelines.retrieval.retrieval.table_retrieval()] encountered an error<
2025-03-25 14:45:53 > Node inputs:
2025-03-25 14:45:53 {'embedding': "<Task finished name='Task-1432' coro=<AsyncGraphAd...",
2025-03-25 14:45:53 'project_id': '',
2025-03-25 14:45:53 'table_retriever': '<src.providers.document_store.qdrant.AsyncQdrantEm...',
2025-03-25 14:45:53 'tables': None}
2025-03-25 14:45:53 ********************************************************************************
2025-03-25 14:45:53 Traceback (most recent call last):
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/hamilton/async_driver.py", line 122, in new_fn
2025-03-25 14:45:53 await fn(**fn_kwargs) if asyncio.iscoroutinefunction(fn) else fn(**fn_kwargs)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 219, in async_wrapper
2025-03-25 14:45:53 self._handle_exception(observation, e)
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 520, in _handle_exception
2025-03-25 14:45:53 raise e
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 217, in async_wrapper
2025-03-25 14:45:53 result = await func(*args, **kwargs)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/pipelines/retrieval/retrieval.py", line 160, in table_retrieval
2025-03-25 14:45:53 return await table_retriever.run(
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/providers/document_store/qdrant.py", line 359, in run
2025-03-25 14:45:53 docs = await self._document_store._query_by_filters(
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/providers/document_store/qdrant.py", line 217, in _query_by_filters
2025-03-25 14:45:53 qdrant_filters = convert_filters_to_qdrant(filters)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/qdrant/filters.py", line 66, in convert_filters_to_qdrant
2025-03-25 14:45:53 current_filter = convert_filters_to_qdrant(item.get("conditions", []), is_parent_call=False) or []
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/qdrant/filters.py", line 86, in convert_filters_to_qdrant
2025-03-25 14:45:53 raise FilterError(msg)
2025-03-25 14:45:53 haystack.errors.FilterError: 'field' or 'value' not found for 'in'
2025-03-25 14:45:53
2025-03-25 14:45:53 ********************************************************************************
2025-03-25 14:45:53 > table_retrieval [src.pipelines.retrieval.retrieval.table_retrieval()] encountered an error<
2025-03-25 14:45:53 > Node inputs:
2025-03-25 14:45:53 {'embedding': "<Task finished name='Task-1454' coro=<AsyncGraphAd...",
2025-03-25 14:45:53 'project_id': '',
2025-03-25 14:45:53 'table_retriever': '<src.providers.document_store.qdrant.AsyncQdrantEm...',
2025-03-25 14:45:53 'tables': None}
2025-03-25 14:45:53 ********************************************************************************
2025-03-25 14:45:53 Traceback (most recent call last):
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/hamilton/async_driver.py", line 122, in new_fn
2025-03-25 14:45:53 await fn(**fn_kwargs) if asyncio.iscoroutinefunction(fn) else fn(**fn_kwargs)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 219, in async_wrapper
2025-03-25 14:45:53 self._handle_exception(observation, e)
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 520, in _handle_exception
2025-03-25 14:45:53 raise e
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/langfuse/decorators/langfuse_decorator.py", line 217, in async_wrapper
2025-03-25 14:45:53 result = await func(*args, **kwargs)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/pipelines/retrieval/retrieval.py", line 160, in table_retrieval
2025-03-25 14:45:53 return await table_retriever.run(
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/providers/document_store/qdrant.py", line 359, in run
2025-03-25 14:45:53 docs = await self._document_store._query_by_filters(
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/src/providers/document_store/qdrant.py", line 217, in _query_by_filters
2025-03-25 14:45:53 qdrant_filters = convert_filters_to_qdrant(filters)
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/qdrant/filters.py", line 66, in convert_filters_to_qdrant
2025-03-25 14:45:53 current_filter = convert_filters_to_qdrant(item.get("conditions", []), is_parent_call=False) or []
2025-03-25 14:45:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-25 14:45:53 File "/app/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/qdrant/filters.py", line 86, in convert_filters_to_qdrant
2025-03-25 14:45:53 raise FilterError(msg)
2025-03-25 14:45:53 haystack.errors.FilterError: 'field' or 'value' not found for 'in'
2025-03-25 14:45:53 -------------------------------------------------------------------
2025-03-25 14:45:53 Oh no an error! Need help with Hamilton?
2025-03-25 14:45:53 Join our slack and ask for help! https://join.slack.com/t/hamilton-opensource/shared_invite/zt-2niepkra8-DGKGf_tTYhXuJWBTXtIs4g
2025-03-25 14:45:53 -------------------------------------------------------------------
2025-03-25 14:45:53
2025-03-25 14:45:53 -------------------------------------------------------------------
2025-03-25 14:45:53 Oh no an error! Need help with Hamilton?
2025-03-25 14:45:53 Join our slack and ask for help! https://join.slack.com/t/hamilton-opensource/shared_invite/zt-2niepkra8-DGKGf_tTYhXuJWBTXtIs4g
2025-03-25 14:45:53 -------------------------------------------------------------------
2025-03-25 14:45:53
2025-03-25 14:45:53 -------------------------------------------------------------------
2025-03-25 14:45:53 Oh no an error! Need help with Hamilton?
2025-03-25 14:45:53 Join our slack and ask for help! https://join.slack.com/t/hamilton-opensource/shared_invite/zt-2niepkra8-DGKGf_tTYhXuJWBTXtIs4g
2025-03-25 14:45:53 -------------------------------------------------------------------
2025-03-25 14:45:53
2025-03-25 14:45:53 E0325 09:15:53.349 8 wren-ai-service:151] Request 10c01a2d-a7d1-47de-b35f-5ba820312f60: Error validating question: 'field' or 'value' not found for 'in'
2025-03-25 14:45:53 E0325 09:15:53.350 8 wren-ai-service:151] Request 10c01a2d-a7d1-47de-b35f-5ba820312f60: Error validating question: 'field' or 'value' not found for 'in'
2025-03-25 14:45:53 E0325 09:15:53.352 8 wren-ai-service:151] Request 10c01a2d-a7d1-47de-b35f-5ba820312f60: Error validating question: 'field' or 'value' not found for 'in'
2025-03-25 14:45:54 INFO: 172.18.0.6:57114 - "GET /v1/question-recommendations/10c01a2d-a7d1-47de-b35f-5ba820312f60 HTTP/1.1" 200 OK
The text was updated successfully, but these errors were encountered: