aiaio
Project description
aiaio (AI-AI-O)
A lightweight, privacy-focused web UI for interacting with AI models. Supports both local and remote LLM deployments through OpenAI-compatible APIs.
Features
- 🌓 Dark/Light mode support
- 💾 Conversation history and management
- 📁 File upload and processing
- ⚙️ Configurable model settings
- 🔒 Privacy-focused (all data stays local)
- 📱 Responsive design for mobile/desktop
- 🎨 Syntax highlighting for code
- 📋 Code block copying
Requirements
- Python 3.8+
- An OpenAI-compatible API endpoint (local or remote)
Supported Frameworks
- vLLM
- TGI
- OpenAI
- Hugging Face
- llama.cpp
- any other custom openai-compatible api
Installation
pip install aiaio
Quick Start
- Start the server:
aiaio app --host 127.0.0.1 --port 5000
- Open your browser and navigate to
http://127.0.0.1:5000
Configuration
Configure these settings through the UI or environment variables:
MODEL_NAME- LLM model to use (default: meta-llama/Llama-3.2-1B-Instruct)API_HOST- API endpoint URLAPI_KEY- Your API key (if required)MAX_TOKENS- Maximum tokens per response (default: 4096)TEMPERATURE- Response randomness (0-2, default: 1.0)TOP_P- Nucleus sampling parameter (0-1, default: 0.95)
Development
# Clone the repository
git clone https://github.com/abhishekkrthakur/aiaio.git
cd aiaio
# Install in development mode
pip install -e .
# Run tests
pytest
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
Apache License - see LICENSE file for details
Acknowledgements
GitHub CoPilot. Most of the code was written by CoPilot. I just pressed the keys on the keyboard.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiaio-0.0.2.tar.gz.
File metadata
- Download URL: aiaio-0.0.2.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2c7986a478d0c238df42526c3925005e44e5624af28e9a27d5575642d02b75c
|
|
| MD5 |
0d262b700845189d23e945c5a9ac3283
|
|
| BLAKE2b-256 |
5f5f5181a847ff2aeccacc344efd19a3bdf304f6c44d684028032506827655ff
|
File details
Details for the file aiaio-0.0.2-py3-none-any.whl.
File metadata
- Download URL: aiaio-0.0.2-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
062d5d94ec4bc118ba8faef1afbed501320928219d89365ad06b5dc292b07b9e
|
|
| MD5 |
6d698efeca0ed0c5c4088aaf54a36342
|
|
| BLAKE2b-256 |
66b84bc8c8a1cc3e1379fac5db29eb106580aaf45b9154f3049d6270632387e6
|