π€ Project S.O.C.R.A.T.E.S.: Sophisticated Orchestration of Collaborative Resources and AI Task Execution System
Project S.O.C.R.A.T.E.S. is a cutting-edge framework designed to harness the power of multi-agent AI systems for seamless collaboration, task automation, and resource management. By orchestrating specialized agents and leveraging advanced AI capabilities, S.O.C.R.A.T.E.S. enables efficient task execution and intelligent resource integration, making it an indispensable tool for researchers, developers, and organizations.
S.O.C.R.A.T.E.S. integrates a sophisticated multi-agent framework with state-of-the-art AI models, providing a powerful platform for collaborative task management and resource optimization. Whether itβs analyzing documents, generating content, or executing complex workflows, the systemβs agents work together to deliver streamlined and intelligent solutions.
-
Advanced Chat Interface:
- π¬ Context-aware conversations using RAG
- π§ Intelligent response generation
- π Chat history management
- π Semantic search capabilities
-
Document Management:
- π Support for multiple formats (PDF, TXT, DOCX, MD)
- π Advanced document processing and vectorization
- ποΈ Robust document deletion with resource cleanup
- π Full-text and semantic search
- π Efficient vector store management
- π§Ή Automatic resource cleanup and optimization
-
Modern Architecture:
- π LLaMA 3 70B via Groq for state-of-the-art responses
- π LangChain for RAG and memory management
- πΎ ChromaDB for efficient vector storage
- π― Streamlit for responsive UI
- βοΈ Unified configuration management
- π€ Local inference with SentenceTransformers
-
Enhanced Logging:
- π Emoji-enhanced logging for better traceability
- π Detailed error tracking and reporting
- π Improved operation status feedback
-
Improved UI:
- π₯οΈ Updated chat interface with emoji roles
- π Enhanced document management interface
- π Smooth notifications and feedback
- π¨ Better visual consistency
-
Document Upload Enhancements:
- π€ Improved document processing capabilities
- Python 3.12+
- Groq API key (get one at console.groq.com)
-
Clone the repository:
git clone https://github.com/Hams-Ollo/Dynamic-AI-Assistant-base.git cd Dynamic-AI-Assistant-base
-
Set up virtual environment:
python -m venv venv # Windows .\venv\Scripts\activate # Unix/MacOS source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Configure environment:
cp .env.example .env # Add your Groq API key and other settings to .env
-
Run the application:
streamlit run frontend/Home.py
Dynamic-AI-Assistant-base/
βββ app/
β βββ agents/
β β βββ chat_agent.py # Core chat and RAG functionality
β βββ utils/
β β βββ config.py # Unified configuration management
β β βββ document_processor.py # Document handling
β β βββ memory.py # Memory management
β βββ core/ # Core application components
βββ frontend/
β βββ Home.py # Main entry point
β βββ pages/
β βββ Chat.py # Chat interface
β βββ Document_Upload.py # Document management
βββ data/ # Data storage
β βββ memory/ # Vector store and memory
βββ docs/ # Documentation
βββ tests/ # Test suite
The application uses a unified configuration system (app/utils/config.py
) that manages:
- Model settings (temperature, tokens, etc.)
- API configurations
- Memory management
- Document processing parameters
- Path management
Configuration can be customized through:
- Environment variables
.env
file- Runtime configuration
- Research Assistant: Process and analyze academic papers
- Documentation Helper: Quick access to technical documentation
- Knowledge Base: Create smart FAQ systems
- Legal Assistant: Analyze legal documents
- Training Support: Process training materials
Key customization points:
-
Document Processing:
- Adjust chunking in
document_processor.py
- Configure embedding models
- Modify vector store settings
- Adjust chunking in
-
Chat Behavior:
- Update prompts in
chat_agent.py
- Customize RAG integration
- Adjust memory management
- Update prompts in
-
User Interface:
- Modify Streamlit components
- Add new pages
- Customize styling
We welcome contributions! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request
[Your License] - See LICENSE file for details
This release is version 1.1.0, featuring new enhancements and improvements.