How abhilashjaiswal0110/pdf-to-podcast works
Project type and purpose
• This is a microservices-based AI blueprint (PDF to Podcast) built on NVIDIA NIM.
• It ingests PDFs (target + optional context), uses LLMs to generate a transcript, then converts text to speech.
File structure
• Top-level “services” folder contains four independent services, each with its own Dockerfile and startup script:
• APIService – exposes HTTP endpoints (FastAPI/Swagger).
• AgentService – orchestrates LLM calls (monologue/podcast flows).
• PDFService – handles PDF ingestion/extraction (Docling) and offers both API and worker subcomponents.
• TTSService – wraps ElevenLabs text-to-speech API.
• “frontend” holds a Python CLI/utility entry point and shared client libraries.
• “shared” within root and “frontend/shared” contain common proto/types/connection code (api_types, llmmanager, storage).
• docker-compose.yaml orchestrates all services plus auxiliary infra (Redis, MinIO, Jaeger).
• tests/ validates end-to-end flows.
README for additional insights
• Describes the flow: Target PDF → PDFService → AgentService (via NIM) → TTSService → audio.
• External dependencies: NVIDIA NIM endpoints, ElevenLabs API, Redis (task queue), MinIO (object storage), optional GPU for Docling.