docs/docs/examples/chatbot_voice.md
This example demonstrates how to create a voice-enabled chatbot using Quivr and Chainlit. The chatbot lets users upload a text file, ask questions about its content, and interact using speech.
Clone the repository and navigate to the appropriate directory:
git clone https://github.com/QuivrHQ/quivr
cd examples/chatbot_voice
Set the OpenAI API key as an environment variable:
export OPENAI_API_KEY='<your-key-here>'
Install the required dependencies:
pip install -r requirements.lock
Start the Chainlit server:
chainlit run main.py
Open your web browser and navigate to the URL displayed in the terminal (default: http://localhost:8000).
.txt file..txt file, which is temporarily saved and processed into a "brain" using Quivr.Enjoy interacting with your documents in both text and voice modes!