Welcome to Null AI, a comprehensive Python-based artificial intelligence assistant designed to help with IT support, web analysis, and document generation.
- Programming help in multiple languages (Python, Java, JavaScript, C++, and more)
- Code debugging assistance
- Best practices and tips
- Code review guidance
- Web search capabilities
- Content analysis
- Website summarization
- Information gathering
- PDF creation
- Word document generation
- PowerPoint presentations
- Text files
- JSON and CSV exports
Null_AI/
├── null_ai/ # Main package
│ ├── core/ # Core AI engine
│ │ ├── engine.py # Main AI engine
│ │ └── processor.py # Query processor
│ ├── modules/ # Feature modules
│ │ ├── it_help.py # IT assistance
│ │ ├── web_analysis.py # Web analysis
│ │ └── document_generator.py # Document generation
│ ├── utils/ # Utilities
│ │ └── logger.py # Logging
│ ├── config/ # Configuration
│ │ └── settings.py # Settings management
│ └── __init__.py
├── examples/ # Example usage
│ └── basic_usage.py
├── tests/ # Unit tests
│ └── test_null_ai.py
├── main.py # Entry point
├── requirements.txt # Dependencies
├── config.json # Configuration file
└── README.md # This file
-
Clone or download the repository
cd Scratch_AI -
Install dependencies
pip install -r requirements.txt
-
Run Null AI
python main.py
Start the interactive mode:
python main.pyThen type your queries:
Null AI > Help me with Python programming
Null AI > Search for machine learning tutorials
Null AI > Generate a PDF report
Null AI > exit
from null_ai import NullAI
# Initialize Null AI
null = NullAI()
# Ask for IT help
response = null.query("Help me debug this Python error", query_type="it_help")
print(response['response'])
# Perform web analysis
response = null.query("Search for Python best practices", query_type="web_analysis")
print(response['response'])
# Generate documents
response = null.query("Create a PDF report", query_type="document")
print(response['response'])
# View conversation history
history = null.get_history()
for entry in history:
print(f"User: {entry['user']}")
print(f"Response: {entry['response']}\n")python examples/basic_usage.pypython -m pytest tests/
# or
python -m unittest tests.test_null_aiMain AI engine class that coordinates all modules.
query(user_input: str, query_type: str = "general") -> Dict: Process a user queryget_info() -> Dict: Get information about Null AIget_history(limit: int = None) -> List: Get conversation historyclear_history(): Clear conversation historylist_capabilities() -> Dict: List all capabilities
"general"- General queries (default)"it_help"- Programming and IT assistance"web_analysis"- Web search and analysis"document"- Document generation
Modify config.json to customize Null AI:
{
"ai_name": "Null",
"version": "1.0.0",
"debug": false,
"max_history": 1000,
"supported_languages": ["python", "java", "javascript", ...],
"document_formats": ["pdf", "word", "powerpoint", "txt", "json", "csv"]
}- Python
- Java
- JavaScript
- C++
- C#
- Go
- Rust
- Ruby
- PHP
- PDF (.pdf)
- Word (.docx)
- PowerPoint (.pptx)
- Text (.txt)
- JSON (.json)
- CSV (.csv)
- Integrate real web search APIs (Google, Bing)
- Add machine learning capabilities
- Support for natural language understanding
- Voice input/output
- Database integration
- API server mode
- GUI interface
- Plugin system
CC-BY-NC-ND Licence, dont use for comercial uses, dont remix, allways name Author as Vojtech Koubik.
For issues, questions, or suggestions, please open an issue on GitHub or contact the development team.
- Initial release
- IT assistance module
- Web analysis module
- Document generation module
- Conversation history tracking
- Comprehensive logging system
Null AI - Making AI accessible and useful for everyone.