-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add video RAG Demo #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add video RAG Demo #131
Conversation
- Complete Streamlit app for video upload and chat using Gemini API - Support for multiple video formats (MP4, AVI, MOV, MKV, WEBM) - Interactive chat interface with streaming responses - Example prompts and user-friendly UI - Comprehensive error handling and file validation - Environment variable support for API key configuration - Command-line demo script for testing - Setup verification script - Detailed documentation and usage guide
🎬 Add Video RAG with Gemini Streamlit Demo
|
Caution Review failedThe pull request is closed. WalkthroughA new "Video RAG with Gemini" demo application has been introduced. It includes a Streamlit web app, a CLI demo, setup and usage documentation, environment configuration, requirements, and a setup test script. The app enables users to upload videos and interactively chat with their content using Google's Gemini AI for multimodal understanding. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant StreamlitApp
participant VideoProcessor
participant GeminiAPI
User->>StreamlitApp: Upload video & enter API key
StreamlitApp->>VideoProcessor: Save and validate video
VideoProcessor->>GeminiAPI: Upload video file
GeminiAPI-->>VideoProcessor: Return file handle
VideoProcessor->>GeminiAPI: Poll for processing status
GeminiAPI-->>VideoProcessor: Processing complete
StreamlitApp->>User: Display video & chat interface
User->>StreamlitApp: Enter question about video
StreamlitApp->>VideoProcessor: Send prompt and video file
VideoProcessor->>GeminiAPI: Request AI response
GeminiAPI-->>VideoProcessor: Return response
StreamlitApp->>User: Display AI-generated answer
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (7)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Documentation
Tests