Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

ERROR:example:Failed to ingest document due to exception Unable to get page count.

未關閉
#196 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
30/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
docker, python
領域
ai, backend

研究方向

從 README 中的說明和 GenerativeAIExamples/RAG/examples/basic_rag/langchain 中的範例開始,然後根據回報的日誌追蹤 chain-server 的文件擷取路徑。檢查該範例如何處理頁數錯誤背後的 PDF 相依性;完成標準是該範例能夠擷取上傳的 PDF,且不會傳回 500 回應。

由索引模型根據 Issue 內容生成。

描述

Followed the instructions from the README and started the example from GenerativeAIExamples/RAG/examples/basic_rag/langchain.

The docker logs of chain-server:

INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:faiss.loader:Loading faiss with AVX2 support.
INFO:faiss.loader:Successfully loaded faiss with AVX2 support.
INFO:RAG.src.chain_server.utils:Using nvidia-ai-endpoints as model engine and nvidia/nv-embedqa-e5-v5 and model for embeddings
INFO:RAG.src.chain_server.utils:Using embedding model nvidia/nv-embedqa-e5-v5 hosted at api catalog
INFO:RAG.src.chain_server.utils:Using milvus collection: nvidia_api_catalog
INFO:RAG.src.chain_server.utils:Vector store created and saved.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8081 (Press CTRL+C to quit)
INFO:     172.18.0.6:48730 - "GET /documents HTTP/1.1" 200 OK
INFO:     172.18.0.6:40180 - "GET /documents HTTP/1.1" 200 OK
INFO:     172.18.0.6:60014 - "GET /documents HTTP/1.1" 200 OK
INFO:     172.18.0.6:60800 - "GET /documents HTTP/1.1" 200 OK
INFO:pikepdf._core:pikepdf C++ to Python logger bridge initialized
ERROR:example:Failed to ingest document due to exception Unable to get page count. Is poppler installed and in PATH?
ERROR:RAG.src.chain_server.server:Error from POST /documents endpoint. Ingestion of file: /tmp/gradio/b3131f976d42f2c5b2cab5027eeaabec73658e1423259694a7a7d107b65be0bd/test.pdf failed with error: Failed to upload document. Please upload an unstructured text document.
INFO:     172.18.0.6:60810 - "GET /documents HTTP/1.1" 200 OK
INFO:     172.18.0.6:60804 - "POST /documents HTTP/1.1" 500 Internal Server Error
主要語言
Jupyter Notebook
星號
4.2k
分支
1.1k
平均合併
10 小時 15 分鐘
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NVIDIA/GenerativeAIExamples 的其他 Issue

查看 NVIDIA/GenerativeAIExamples 的全部 Issue

相似的 Issue

更多 AI Infra & Agents Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。