A small sample of code to explore how RAG works and play around
Python
0
6 commits
updated Jul 7, 2025
A comprehensive educational repository for exploring Retrieval Augmented Generation (RAG) with Large Language Models. This workshop provides hands-on experience with vector stores, embeddings, and interactive AI applications through Gradio interfaces.
git clone <repository-url>
cd RAG_Workshop_Repo
Navigate to the code directory and run the setup script:
cd code
source ./setup_ragworkshop_env.sh
This script will:
For subsequent sessions, activate the environment:
source ./start_venv.sh
Set up your Git credentials:
source ./setup_git.sh <username> <email> <access_token>
RAG_Workshop_Repo/
โโโ code/ # Main source code directory
โ โโโ amas_manager_tools.py # LLM interaction and management classes
โ โโโ assistant_gradio_variables.py # Gradio app variables and functions
โ โโโ gradio_assistant_apps.py # Gradio application classes
โ โโโ knowledge_nexus_generator.py # Vector store operations
โ โโโ RAG_Playground.ipynb # Interactive RAG notebook
โ โโโ reduced_amas_beta.ipynb # Simplified RAG implementation
โ โโโ requirements.txt # Python dependencies
โ โโโ setup_ragworkshop_env.sh # Environment setup script
โ โโโ start_venv.sh # Virtual environment activation
โ โโโ setup_git.sh # Git configuration script
โ โโโ utilities/ # Helper modules and tools
โ โโโ ai_agent_utilities/ # AI agent profiles and configurations
โ โโโ gpu_tools/ # GPU management utilities
โ โโโ images/ # UI screenshots and visual assets
โ โโโ rag_evaluators/ # RAG performance evaluation tools
โ โโโ script_tools/ # Additional utility scripts
โโโ data/ # Data files and PDFs for RAG
โ โโโ CUI_SPEC.pdf # Sample document for vectorization
โโโ slides/ # Educational presentations
โ โโโ Introduction to Large Language Models and RAG.pptx
โโโ README.md # This file
amas_manager_tools.py: Provides classes for loading and interacting with LLMs, including RAG operationsknowledge_nexus_generator.py: Handles vector store creation, storage, and loadinggradio_assistant_apps.py: Creates interactive web interfaces for RAG testingassistant_gradio_variables.py: Manages Gradio app customization and configurationRAG_Playground.ipynb: Main interactive notebook for exploring RAG conceptsreduced_amas_beta.ipynb: Simplified implementation for learning purposesRAG_Playground.ipynb in JupyterThis project is licensed under the MIT License - see the LICENSE file for details.
Note: This is an educational repository designed for learning and experimentation. Please ensure you have appropriate permissions and follow best practices when working with proprietary data or models.
A small sample of code to explore how RAG works and play around
Python
0
6 commits
updated Jul 7, 2025
A comprehensive educational repository for exploring Retrieval Augmented Generation (RAG) with Large Language Models. This workshop provides hands-on experience with vector stores, embeddings, and interactive AI applications through Gradio interfaces.
git clone <repository-url>
cd RAG_Workshop_Repo
Navigate to the code directory and run the setup script:
cd code
source ./setup_ragworkshop_env.sh
This script will:
For subsequent sessions, activate the environment:
source ./start_venv.sh
Set up your Git credentials:
source ./setup_git.sh <username> <email> <access_token>
RAG_Workshop_Repo/
โโโ code/ # Main source code directory
โ โโโ amas_manager_tools.py # LLM interaction and management classes
โ โโโ assistant_gradio_variables.py # Gradio app variables and functions
โ โโโ gradio_assistant_apps.py # Gradio application classes
โ โโโ knowledge_nexus_generator.py # Vector store operations
โ โโโ RAG_Playground.ipynb # Interactive RAG notebook
โ โโโ reduced_amas_beta.ipynb # Simplified RAG implementation
โ โโโ requirements.txt # Python dependencies
โ โโโ setup_ragworkshop_env.sh # Environment setup script
โ โโโ start_venv.sh # Virtual environment activation
โ โโโ setup_git.sh # Git configuration script
โ โโโ utilities/ # Helper modules and tools
โ โโโ ai_agent_utilities/ # AI agent profiles and configurations
โ โโโ gpu_tools/ # GPU management utilities
โ โโโ images/ # UI screenshots and visual assets
โ โโโ rag_evaluators/ # RAG performance evaluation tools
โ โโโ script_tools/ # Additional utility scripts
โโโ data/ # Data files and PDFs for RAG
โ โโโ CUI_SPEC.pdf # Sample document for vectorization
โโโ slides/ # Educational presentations
โ โโโ Introduction to Large Language Models and RAG.pptx
โโโ README.md # This file
amas_manager_tools.py: Provides classes for loading and interacting with LLMs, including RAG operationsknowledge_nexus_generator.py: Handles vector store creation, storage, and loadinggradio_assistant_apps.py: Creates interactive web interfaces for RAG testingassistant_gradio_variables.py: Manages Gradio app customization and configurationRAG_Playground.ipynb: Main interactive notebook for exploring RAG conceptsreduced_amas_beta.ipynb: Simplified implementation for learning purposesRAG_Playground.ipynb in JupyterThis project is licensed under the MIT License - see the LICENSE file for details.
Note: This is an educational repository designed for learning and experimentation. Please ensure you have appropriate permissions and follow best practices when working with proprietary data or models.