Overview of VoiceRAG pattern
mainVoiceRAG is an application pattern for implementing Retrieval Augmented Generation (RAG) with a voice user interface. It uses the GPT-4o Realtime API for audio to process voice input and generate audio responses, while leveraging Azure AI Search to retrieve relevant documents from a knowledge base to ground the model's responses.
Key features include:
- Voice interface: Captures browser microphone input for processing by Azure OpenAI.
- RAG: Uses Azure AI Search to provide context to the GPT-4o Realtime API.
- Audio output: Plays generated responses via browser audio capabilities.
- Citations: Displays the search results used to generate the response.