Skip to content

haystack.errors.FilterError: 'field' or 'value' not found for 'in' #1458

@Dharmik-Solanki

Description

@Dharmik-Solanki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions