NVIDIA / NVIDIA/GenerativeAIExamples

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

Aperta
#196 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Jupyter Notebook
Stelle
4.2k
Fork
1.1k
Merge medio
10h 15m
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con le istruzioni nel README e l'esempio in GenerativeAIExamples/RAG/examples/basic_rag/langchain, quindi traccia il percorso di acquisizione dei documenti di chain-server usando i log riportati. Verifica come l'esempio gestisce la dipendenza PDF alla base dell'errore relativo al numero di pagine; il lavoro è completato quando l'esempio riesce ad acquisire il PDF caricato senza una risposta 500.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
docker, python
Ambito
ai, backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.