Examples
This section contains practical examples and demonstrations of using Quivr in various scenarios. Each example is designed to showcase different capabilities and integration possibilities.Core Examples
Chatbot Applications
-
Chainlit Chatbot
- Create an interactive chatbot using Quivr and Chainlit
- Upload and process text files up to 20MB
- Real-time question answering based on document content
- Easy setup with Rye package manager
- View source code
-
Voice-Enabled Assistant
- Build a voice interface using OpenAI’s Whisper model
- Features audio input and speech synthesis
- Flask-based web application
- Complete audio processing pipeline
- View implementation
RAG Workflows
-
Basic RAG Implementation
- Simple retrieval-augmented generation setup
- Configurable via YAML
- Step-by-step implementation guide
- Perfect for getting started with RAG
-
Advanced RAG with Web Search
- Includes web search capabilities
- Dynamic chunk retrieval
- User intention detection
- Advanced routing and tool integration
Additional Examples
Find more examples in our GitHub repository:Document Processing
- PDF Document Handling
- Process and analyze PDF files
- Extract structured information
- Handle complex document layouts
Voice Integration
- Quivr-Whisper Integration
- Speech-to-text processing
- Voice command handling
- Audio response synthesis
Storage Solutions
- Custom Storage Implementation
- Build custom storage backends
- Integrate with different databases
- Optimize for specific use cases
Simple Applications
- Question Processing Demo
- Basic Q&A implementation
- Document chunking examples
- Memory management patterns
- Detailed setup instructions
- Code snippets and explanations
- Configuration examples
- Best practices and tips
Getting Started
To run any of these examples:-
Clone the repository:
- Follow the specific README instructions in each example directory
- Make sure to set up your environment variables (API keys, etc.) as specified in the example documentation