You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When get word docx page number,It will show
Exception in thread Thread-51 (_retriever):
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "E:\03Work\26AILearn\difysourcecode\dify\api\core\rag\retrieval\dataset_retrieval.py", line 531, in _retriever
documents = RetrievalService.retrieve(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\03Work\26AILearn\difysourcecode\dify\api\core\rag\datasource\retrieval_service.py", line 106, in retrieve
raise Exception(exception_message)
Exception: Error during query: [{'locations': [{'column': 22833, 'line': 1}], 'message': 'Cannot query field "page" on type "Vector_index_d9e5bc2b_a1e0_4080_b4a4_4edb59e559a2_Node".', 'path': None}]
3. Can you help us with this feature?
I am interested in contributing to this feature.
The text was updated successfully, but these errors were encountered:
meetbestzhe
changed the title
return page number of docx documents upon retrieval
return page number of word docx documents upon retrieval
Dec 20, 2024
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I can get pdf page number follow https://github.com/langgenius/dify/pull/7749
but It doesn't work when get docx page number.
2. Additional context or comments
When get word docx page number,It will show
Exception in thread Thread-51 (_retriever):
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "E:\03Work\26AILearn\difysourcecode\dify\api\core\rag\retrieval\dataset_retrieval.py", line 531, in _retriever
documents = RetrievalService.retrieve(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\03Work\26AILearn\difysourcecode\dify\api\core\rag\datasource\retrieval_service.py", line 106, in retrieve
raise Exception(exception_message)
Exception: Error during query: [{'locations': [{'column': 22833, 'line': 1}], 'message': 'Cannot query field "page" on type "Vector_index_d9e5bc2b_a1e0_4080_b4a4_4edb59e559a2_Node".', 'path': None}]
3. Can you help us with this feature?
The text was updated successfully, but these errors were encountered: