Spaces:
Sleeping
Sleeping
SAOKE Problem Solver
A modern web application that transforms technical problems into solutions using the SAOKE methodology (Subject-Action-Object-Knowledge-Effect).
Overview
This application analyzes technical problems, extracts relevant effects, matches them with proven mechanisms from a patent database, and generates comprehensive solutions following the SAOKE framework.
Features
π¨ Modern Web Interface
- Beautiful, responsive Streamlit-based UI
- Step-by-step guided workflow
- Progress tracking and visual indicators
- Real-time processing feedback
π¬ Advanced Analysis
- AI-powered effect extraction using Google Gemini
- Semantic similarity matching with sentence transformers
- Patent-based mechanism retrieval
- Structured solution generation
π User-Friendly Workflow
- Problem Input - Enter your technical challenge
- Effects Extraction - AI extracts key effects (with regeneration)
- Mechanism Matching - Maps effects to proven technologies
- Solution Generation - Creates comprehensive solution (with regeneration)
Installation
- Clone or download the application files
- Install dependencies:
pip install -r requirements.txt - Ensure data file exists: Place
SAOKE_technologies.xlsxin the same directory
Usage
Web Application (Recommended)
python run_saoke_web_app.py
- Opens automatically in your browser at
http://localhost:8501 - Modern, intuitive interface
- Real-time progress tracking
Legacy Tkinter Application
python run_saoke_app_tkinter_backup.py
- Desktop GUI application
- Tabbed interface
- Basic functionality
Requirements
- Python 3.8+
- Internet connection (for AI services)
SAOKE_technologies.xlsxdata file- Required Python packages (see
requirements.txt)
Key Technologies
- Streamlit - Modern web interface
- Google Gemini - AI-powered text analysis
- Sentence Transformers - Semantic similarity matching
- Pandas - Data processing
- NumPy - Numerical computations
File Structure
βββ saoke_web_app.py # Main web application
βββ run_saoke_web_app.py # Web app launcher
βββ saoke_app_tkinter_backup.py # Legacy Tkinter app
βββ run_saoke_app_tkinter_backup.py # Legacy launcher
βββ requirements.txt # Python dependencies
βββ SAOKE_technologies.xlsx # Patent mechanisms database
βββ README.md # This file
Example Workflow
Enter Problem: "I want to send a private message to my friend over the network"
Effects Extracted:
- Message Confidentiality Assurance
- Recipient-Exclusive Message Decryption
Mechanisms Matched:
- On-the-Fly Encryption/Decryption
- Asymmetric Encryption
Solution Generated:
- Structured implementation plan
- Functional and non-functional requirements
- Step-by-step SAOKE breakdown
API Configuration
The application uses a hardcoded Gemini API key. For production use, consider:
- Environment variables for API keys
- User authentication
- Rate limiting
- Error handling improvements
Support
For issues or questions:
- Check that all requirements are installed
- Verify
SAOKE_technologies.xlsxexists - Ensure internet connectivity for AI services
- Review console output for error messages