How parth1609/vocaliz works
VocaliZ is a document-grounded conversational AI product, with an additional voice-call interface and a developing web frontend. Its main workflow is document upload and indexing, followed by retrieval-augmented question answering with persistent conversation history. The graph combines sampled calls and imports with explicitly documented capabilities; unsampled module internals and frontend-to-API wiring are not inferred.
Main entry points: pipeline.py RAG orchestration · service.py Speech services · router.py Voice call handler · streamlit_app.py Streamlit interface
Components 26
User interfaces
- FastAPI application
app/main.py - Streamlit interface
streamlit_app.py - Web application
frontend/src/App.jsx - Document upload UI
frontend/src/components/DocumentUpload.jsx - Call logs
frontend/src/pages/CallLogs.jsx - Settings page
frontend/src/pages/Settings.jsx - Voice bot setup
frontend/src/pages/VoiceBotSetup.jsx
RAG workflow
- Pipeline routes
app/modules/pipeline/router.py - Pipeline service
app/modules/pipeline/service.py - RAG orchestration
app/modules/pipeline/pipeline.py
Application services
- Document processing
app/modules/document/service.py - Chunking and embeddings
app/modules/embedding/service.py - Vector operations
app/modules/vectorstore/service.py - Search and reranking
app/modules/retrieval/service.py - Answer generation
app/modules/llm/service.py - Conversation history
app/modules/conversation/service.py - Voice call handler
app/modules/voicebot/router.py - Speech services
app/modules/voice/service.py
Storage and providers
- Supabase storage
- Pinecone vector database
- PostgreSQL persistence
- Groq language and speech APIs
- Sarvam speech API
Other components
- Organization user
- Question asker
- Exotel AgentStream
Connections 32
- FastAPI application → Pipeline routes: registers routes
app/main.py - Organization user → Streamlit interface: uploads documents
README.md - Question asker → Streamlit interface: asks questions
README.md - Streamlit interface → RAG orchestration: invokes workflow
streamlit_app.py - Streamlit interface → Speech services: uses speech
streamlit_app.py - Web application → Document upload UI: routes to
frontend/src/App.jsx - Web application → Call logs: routes to
frontend/src/App.jsx - Web application → Pipeline routes: API integration
- Organization user → Document upload UI: uploads documents
README.md - Pipeline routes → Pipeline service: calls
app/modules/pipeline/router.py - Pipeline service → RAG orchestration: delegates to
app/modules/pipeline/service.py - RAG orchestration → Document processing: loads documents
app/modules/pipeline/pipeline.py - RAG orchestration → Chunking and embeddings: chunks and embeds
app/modules/pipeline/pipeline.py - RAG orchestration → Vector operations: stores vectors
app/modules/pipeline/pipeline.py - RAG orchestration → Search and reranking: retrieves context
app/modules/pipeline/pipeline.py - RAG orchestration → Answer generation: generates answers
app/modules/pipeline/pipeline.py - RAG orchestration → Conversation history: manages history
app/modules/pipeline/pipeline.py - Document processing → Supabase storage: stores files
README.md - Vector operations → Pinecone vector database: stores vectors
README.md - Search and reranking → Pinecone vector database: searches vectors
README.md - Conversation history → PostgreSQL persistence: persists history
app/modules/conversation/service.py - RAG orchestration → PostgreSQL persistence: checkpoints threads
app/modules/pipeline/pipeline.py - Answer generation → Groq language and speech APIs: requests completions
app/modules/llm/service.py - Voice call handler → Exotel AgentStream: handles call stream
app/modules/voicebot/router.py - Voice call handler → Speech services: synthesizes speech
app/modules/voicebot/router.py - Voice call handler → RAG orchestration: uses RAG workflow
app/modules/voicebot/router.py - Speech services → Groq language and speech APIs: transcribes audio
app/modules/voice/service.py - Speech services → Sarvam speech API: optional speech service
app/modules/voice/service.py - Speech services → Question asker: returns spoken response
- Call logs → Voice call handler: displays call data
- Voice bot setup → Voice call handler: configures voice bot
- Settings page → FastAPI application: configures account