mbudisic/PsTuts-RAG
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
๐ค PsTuts RAG System
An agentic RAG system for the PsTuts dataset that provides AI-powered answers to Adobe Photoshop questions using video tutorial transcripts.
๐จ Visual Theme
The application features a beautiful sepia-toned color scheme that gives it a vintage, artistic feel perfect for Adobe Photoshop tutorials:
- ๐ Light Theme (default): Warm cream and tan colors reminiscent of old photography
- ๐ Dark Theme: Rich coffee and amber tones for comfortable nighttime usage
- ๐ผ๏ธ Sepia Filter: Subtle sepia treatment on images for visual consistency
- โก Smooth Transitions: Elegant animations when switching between themes
Users can toggle between light and dark variants using the theme switcher in the interface.
๐ค HuggingFace is updated from Github.
๐ Getting Started
- Install dependencies:
# Basic installation (includes Jupyter support)
pip install -e .
# With development tools
pip install -e ".[dev]"
# With web server components
pip install -e ".[web]"
# With additional extras (numpy, ragas, tavily)
pip install -e ".[extras]"
# Full installation with all features
pip install -e ".[dev,web,extras]"- Run the app:
chainlit run app.py- Open your browser and navigate to
http://localhost:8000
๐ก Features
- Retrieval-augmented generation (RAG) for Photoshop tutorials
- Multi-agent system with team supervisor
- Web search integration via Tavily
- Semantic chunking for better context retrieval
- Interactive chat interface through Chainlit
- ๐ Web Search Permission Control: You can now set whether the AI is allowed to perform web searches directly from the chat settings (top right โ๏ธ). Choose between "Ask every time", "Always allow", or "Never allow" for full control!
โ๏ธ Configuration Options
You can customize the behavior of PsTuts RAG using environment variables. Set these in your shell, .env file, or deployment environment. Here are the available options:
Set these variables to control model selection, logging, search permissions, and more. For advanced usage, see the developer documentation.
