[Question]: how to fix the problem?
Do you need to ask a question?
- [ ] I have searched the existing question and discussions and this question is not already answered.
- [ ] I believe this is a legitimate question, not just a bug or feature request.
Your Question
ERROR: Error in ollama_embed: 404 page not found (status code: 404) ERROR: limit_async: Error in decorated function: 404 page not found (status code: 404) ERROR: Traceback (most recent call last): File "/app/lightrag/lightrag.py", line 1002, in process_document await asyncio.gather(*tasks) File "/app/lightrag/kg/nano_vector_db_impl.py", line 109, in upsert embeddings_list = await asyncio.gather(*embedding_tasks) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lightrag/utils.py", line 586, in wait_func return await future ^^^^^^^^^^^^ File "/app/lightrag/utils.py", line 370, in worker result = await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lightrag/utils.py", line 242, in call return await self.func(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lightrag/llm/ollama.py", line 165, in ollama_embed raise e File "/app/lightrag/llm/ollama.py", line 154, in ollama_embed data = await ollama_client.embed(model=embed_model, input=texts) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.local/lib/python3.11/site-packages/ollama/_client.py", line 861, in embed return await self._request( ^^^^^^^^^^^^^^^^^^^^ File "/root/.local/lib/python3.11/site-packages/ollama/_client.py", line 682, in _request return cls((await self._request_raw(*args, **kwargs)).json()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.local/lib/python3.11/site-packages/ollama/_client.py", line 626, in _request_raw raise ResponseError(e.response.text, e.response.status_code) from None ollama._types.ResponseError: 404 page not found (status code: 404)
ERROR: Failed to extrat document 1/1: text.pdf
Additional Context
No response