How khaleelhabeeb/dialogai works
Main Components
a) User Interface Layer:
• GUI component (implemented in chat_app.py)
• User input/output interactions
b) Core Processing Components:
• Speech-to-Text Module (transcript_collector.py)
• LLM Integration Module (llm.py)
• Text-to-Speech Module (text_to_speech.py)
• Conversation Management System (conversation_manager.py)
c) External Services:
• Deepgram API (for speech-to-text and text-to-speech)
• Groq API (for LLM processing)
Detailed Component Descriptions
a) User Interface (chat_app.py):
• Input/output mechanisms
• Conversation history
• Control buttons/interfaces
b) Audio Processing:
• Real-time audio capture
• Integration with Deepgram's transcription
• Audio output handling
c) LLM Integration:
• Connection to Groq API
• Response processing
• Model configuration
d) Conversation Management:
• Context maintenance
• History tracking
• State management