- Home
- Skills
- Agents & Orchestration
- voice pdf qa
voice pdf qa
by Salma Sehar
Orchestrate a voice-driven RAG pipeline to upload PDFs and retrieve spoken answers via FastAPI and Qdrant.
Free
voice pdf qa
Example session with this skill installed
I have a PDF named 'annual_report.pdf'. Can you upload it to the voice QA service and tell me when it's ready?
- Read your context and instructions
- Compiled the voice pdf qa
- Generated the document
I have initiated the upload for `annual_report.pdf`. The service is now processing the document, including text extraction and vector embedding. I will monitor the status until the indexing is complete. ## Document Upload Task | Field | Value | | :--- | :--- | | **Document ID** | `doc_8823_xf2` | | **Filename** | `annual_report.pdf` | | **Initial Status** | `pending` | | **Final Status** | `ready` | | **Extraction Mode** | Standard Text | | **Pages Processed** | 24 | The document has been successfully indexed in Qdrant and is now available for voice queries. You can now submit audio recordings (webm, wav, or mp3) to ask questions regarding the financial data or summary sections within this report. **Next steps** 1. Record a short audio file with your question (e.g., "What was the total revenue for Q4?"). 2. Provide the audio file path to run the `ask` command. 3. Review the `question_text` transcript to ensure the speech-to-text engine captured your query accurately.
annual_report.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Maintaining a voice-driven RAG pipeline is difficult when you have to orchestrate speech-to-text, vector embeddings, and text-to-speech across multiple containers. This skill provides the operational logic to manage a FastAPI and Docker-based service that lets users query PDF documents using audio recordings. ## What it does - **Document ingestion** uploads PDFs and manages background processing for page-by-page text extraction. - **OCR fallback** handles scanned documents automatically when standard text extraction fails. - **Voice querying** processes audio files to transcribe questions, retrieve document context, and generate spoken responses. - **Status monitoring** polls asynchronous jobs to track document indexing and answer generation states. - **Client orchestration** uses a dedicated Python CLI to interact with the API, handling headers and file transfers. ## How it works 1. Use the `health` command to verify the FastAPI, Qdrant, and Redis services are online and reachable. 2. Upload a PDF using the `upload` command and monitor the status until it moves from `pending` to `ready`. 3. Provide an audio file of a spoken question to the `ask` command, specifying the document ID. 4. Retrieve the `answer_text` and the generated `.wav` audio file once the background worker completes the task. ## Frameworks & tools Built for a stack comprising FastAPI, Postgres, Qdrant vector database, Redis, and Celery. It utilizes faster-whisper for transcription, Groq LLaMA for inference, and Coqui TTS for speech synthesis, all managed via Docker Compose. ## Why this beats prompting it yourself Generic prompts cannot manage the asynchronous lifecycle of multi-stage audio processing or handle the specific HTTP 409 conflict errors that occur when querying unindexed documents. This skill understands the specific sequence of health checks and polling required to keep a voice RAG pipeline functional. ## Use cases - Query complex technical manuals using voice commands while working hands-free. - Build and debug a local voice-to-document pipeline for private data. - Automate the testing of speech-to-text accuracy against specific PDF datasets. - Troubleshoot stuck document processing jobs or OCR failures in a RAG stack. ## Known limitations Requires Docker, approximately 8GB of RAM, and a valid Groq API key for the LLM component. Performance on scanned PDFs is significantly slower due to OCR processing requirements.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 15 days ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.