|
|
--- |
|
|
title: Advanced AI Reasoning System Pro |
|
|
emoji: π§ |
|
|
colorFrom: purple |
|
|
colorTo: blue |
|
|
sdk: gradio |
|
|
sdk_version: 5.0.0 |
|
|
app_file: main.py |
|
|
pinned: false |
|
|
license: mit |
|
|
short_description: Advanced AI reasoning with multiple methodologies |
|
|
tags: |
|
|
- llm |
|
|
- reasoning |
|
|
- groq |
|
|
- ai |
|
|
- research |
|
|
--- |
|
|
|
|
|
# π§ Advanced AI Reasoning System Pro |
|
|
|
|
|
<div align="center"> |
|
|
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
|
|
|
**Next-Generation AI Research Platform with Stunning Dark Theme UI** |
|
|
|
|
|
*Production-ready AI reasoning application featuring multiple research-backed methodologies, beautiful dark theme interface, advanced caching, real-time analytics, and comprehensive export capabilities.* |
|
|
|
|
|
[π Live Demo](#quick-start) β’ [π Documentation](#documentation) β’ [π¨ UI Features](#ui-features) β’ [π§ Installation](#installation) |
|
|
|
|
|
</div> |
|
|
|
|
|
--- |
|
|
|
|
|
## π¨ Modern Dark Theme UI |
|
|
|
|
|
Dive into a **stunning, professionally designed interface** that sets new standards for AI applications. |
|
|
|
|
|
### **π Visual Excellence** |
|
|
- **Perfect Typography**: Space Grotesk for headlines, Inter for body text, JetBrains Mono for code |
|
|
- **High-Contrast Dark Theme**: Crisp white text on carefully selected dark backgrounds for optimal readability |
|
|
- **Font Smoothing**: Anti-aliased fonts with optimized rendering for crystal-clear text display |
|
|
- **Professional Branding**: Animated logo, gradient accents, and polished visual elements |
|
|
|
|
|
### **β‘ Interactive Animations** |
|
|
- **Smooth Transitions**: Cubic-bezier transitions for all interactive elements |
|
|
- **Status Indicators**: Pulsing animations for live system status |
|
|
- **Hover Effects**: Elegant lift and glow effects on buttons and cards |
|
|
- **Loading States**: Beautiful spinners and progress indicators |
|
|
|
|
|
### **π± Responsive Design** |
|
|
- **Mobile-Optimized**: Centered layouts and touch-friendly interactions |
|
|
- **Breakpoint-Specific**: Tailored designs for tablets, phones, and desktops |
|
|
- **Flexible Components**: Adaptive feature badges and navigation elements |
|
|
|
|
|
--- |
|
|
|
|
|
## β¨ Research Features |
|
|
|
|
|
### π¬ Advanced Reasoning Modes |
|
|
- **π³ Tree of Thoughts (ToT)** - Systematic exploration of multiple reasoning paths |
|
|
- **π Chain of Thought (CoT)** - Step-by-step logical reasoning |
|
|
- **π Self-Consistency** - Multiple solution paths with consensus validation |
|
|
- **πͺ Reflexion** - Self-critique and iterative improvement cycles |
|
|
- **π₯ Multi-Agent Debate** - Multiple AI perspectives with synthesis |
|
|
- **π Analogical Reasoning** - Problem-solving through structured analogies |
|
|
|
|
|
### β‘ Performance Features |
|
|
- **Smart Caching**: LRU cache with TTL for accelerated responses |
|
|
- **Rate Limiting**: Token bucket algorithm preventing API overload |
|
|
- **Streaming**: Real-time response generation |
|
|
- **Multi-threading**: Concurrent request processing |
|
|
|
|
|
### π Analytics & Monitoring |
|
|
- **Live Metrics**: Real-time performance visualization |
|
|
- **Conversation Analytics**: Usage patterns and insights |
|
|
- **Cache Statistics**: Hit/miss ratios and efficiency |
|
|
- **Session Tracking**: Individual session identification |
|
|
|
|
|
### π€ Export Capabilities |
|
|
- **Multi-Format**: JSON, Markdown, Plain Text, PDF |
|
|
- **Rich Metadata**: Timestamps, models, and performance metrics |
|
|
- **Auto Backups**: Scheduled conversation preservation |
|
|
- **Smart Search**: Keyword-based historical retrieval |
|
|
|
|
|
--- |
|
|
|
|
|
## π Quick Start |
|
|
|
|
|
### Prerequisites |
|
|
- **Python 3.9+** |
|
|
- **Groq API Key** ([Get one here](https://console.groq.com)) |
|
|
|
|
|
### Installation |
|
|
|
|
|
```bash |
|
|
# Clone and setup |
|
|
git clone <repository-url> |
|
|
cd reasoning-system-pro |
|
|
python -m venv venv |
|
|
source venv/bin/activate |
|
|
pip install -r requirements.txt |
|
|
|
|
|
# Configure and run |
|
|
cp .env.example .env |
|
|
# Add your GROQ_API_KEY to .env |
|
|
python main.py |
|
|
``` |
|
|
|
|
|
--- |
|
|
|
|
|
## π Available Models |
|
|
|
|
|
### Meta / Llama Models |
|
|
- `llama-3.3-70b-versatile` - Best overall performance |
|
|
- `llama-3.1-8b-instant` - Ultra-fast responses |
|
|
- `llama-4-maverick-17b-128k` - Experimental long context |
|
|
|
|
|
### DeepSeek Models |
|
|
- `deepseek-r1-distill-llama-70b` - Optimized reasoning |
|
|
|
|
|
### Mixtral Models |
|
|
- `mixtral-8x7b-32768` - Long context specialist |
|
|
|
|
|
--- |
|
|
|
|
|
## π§ Configuration |
|
|
|
|
|
Key configuration options: |
|
|
|
|
|
```env |
|
|
# API |
|
|
GROQ_API_KEY=your_key_here |
|
|
|
|
|
# Performance |
|
|
CACHE_SIZE=100 |
|
|
RATE_LIMIT_REQUESTS=50 |
|
|
|
|
|
# Features |
|
|
ENABLE_PDF_EXPORT=true |
|
|
ENABLE_CACHE=true |
|
|
``` |
|
|
|
|
|
--- |
|
|
|
|
|
## π Usage |
|
|
|
|
|
Simply type your question in the chat interface and select your preferred reasoning mode. Enable "Self-Critique" for automatic validation and refinement. |
|
|
|
|
|
--- |
|
|
|
|
|
## π€ Contributing |
|
|
|
|
|
1. Fork the repository |
|
|
2. Create a feature branch |
|
|
3. Make your changes |
|
|
4. Add tests |
|
|
5. Submit a pull request |
|
|
|
|
|
--- |
|
|
|
|
|
## π License |
|
|
|
|
|
MIT License - See LICENSE file for details |
|
|
|
|
|
--- |
|
|
|
|
|
**Built with β€οΈ using Gradio and Groq** |
|
|
|