Smart Layer for Context Augmented Language Models (CALM) - Convert any LLM into CALM
Project description
TOXO - Smart Layer for Context Augmented Language Models (CALM)
🧠 World's First Comprehensive No-Code LLM Training Platform
Transform any black-box LLM into a domain expert without coding. Train sophisticated AI models through our web interface and deploy them instantly as .toxo files.
🚀 Quick Start
Installation
pip install toxo
Usage
from toxo import ToxoLayer
# Load your trained model (created on toxotune.com)
layer = ToxoLayer.load("your_expert_model.toxo")
# Set your API key (Gemini/OpenAI)
layer.setup_api_key("your_api_key_here")
# Use your trained AI expert
response = layer.query("Your question here")
print(response)
Async Usage
import asyncio
from toxo import ToxoLayer
async def main():
layer = ToxoLayer.load("your_expert_model.toxo")
layer.setup_api_key("your_api_key_here")
response = await layer.query_async("Your question here")
print(response)
asyncio.run(main())
🎯 Key Features
- 🎨 No-Code Training: Create AI experts through our web interface
- ⚡ Instant Deployment: Download and use
.toxofiles immediately - 🧠 Domain Expertise: Specialized AI for any field or industry
- 🔄 Continuous Learning: Models improve with feedback
- 📊 Advanced Analytics: Performance monitoring and insights
- 🤖 Multi-Agent Systems: Collaborative AI workflows
- 🔍 Smart Retrieval: Advanced RAG and context processing
- 🎨 Multi-Modal: Text, images, audio, video support
📖 Documentation
Basic Methods
ToxoLayer.load(path)
Load a .toxo model file.
layer = ToxoLayer.load("path/to/your_model.toxo")
layer.setup_api_key(api_key)
Configure your LLM API key (Gemini, OpenAI, etc.).
layer.setup_api_key("your_api_key_here")
layer.query(question, context=None)
Synchronous query to your trained AI expert.
response = layer.query("What is quantum computing?")
response = layer.query("Analyze this data", context={"data": "..."})
layer.query_async(question, context=None)
Asynchronous query for better performance.
response = await layer.query_async("Your question here")
Advanced Methods
layer.get_info()
Get information about your trained model.
info = layer.get_info()
print(f"Domain: {info['domain']}")
print(f"Trained: {info['is_trained']}")
print(f"Performance: {info['metrics']}")
layer.add_feedback(question, response, rating)
Improve your model with feedback.
layer.add_feedback("Question", "Response", 8.5)
layer.get_capabilities()
Discover what your model can do.
capabilities = layer.get_capabilities()
print(capabilities)
🏗️ Creating Models
Models are created on our web platform at toxotune.com:
- 🎯 Choose Domain: Select your area of expertise
- 📚 Add Training Data: Upload documents, examples, or data
- 🏋️ Train Model: Our platform handles the complex training
- 📦 Download: Get your
.toxofile ready for use - 🚀 Deploy: Use anywhere with this Python package
🔧 Advanced Usage
Context-Aware Queries
# Provide context for better responses
context = {
"user_role": "data_scientist",
"project": "customer_analysis",
"priority": "high"
}
response = layer.query("How should I approach this?", context=context)
Batch Processing
questions = [
"What is machine learning?",
"How does neural networks work?",
"Explain deep learning"
]
responses = []
for question in questions:
response = await layer.query_async(question)
responses.append(response)
Performance Monitoring
# Get performance metrics
metrics = layer.get_performance_metrics()
print(f"Average response time: {metrics['avg_response_time']}")
print(f"Accuracy score: {metrics['accuracy']}")
🛠️ Requirements
- Python 3.8+
- Internet connection (for LLM API calls)
- API key for supported LLM providers (Gemini, OpenAI, etc.)
🔐 Supported LLM Providers
- Google Gemini (Recommended)
- OpenAI GPT (Coming Soon)
- Anthropic Claude (Coming Soon)
- Local Models (Coming Soon)
📊 Model Types
Create specialized AI experts for any domain:
- 📈 Business Intelligence: Data analysis, reporting, insights
- 🔬 Research Assistant: Literature review, hypothesis generation
- 💻 Code Expert: Programming help, code review, debugging
- 📚 Educational Tutor: Personalized learning and explanations
- 🎨 Creative Writer: Content creation, storytelling, copywriting
- ⚕️ Healthcare Assistant: Medical research, patient education
- ⚖️ Legal Advisor: Contract analysis, legal research
- 🏦 Financial Analyst: Market analysis, risk assessment
- And many more...
🆘 Support
- Documentation: docs.toxotune.com
- Support: support@toxotune.com
- Community: community.toxotune.com
- Issues: GitHub Issues
📄 License
Proprietary License - See LICENSE file for details.
🚀 Get Started
- Visit toxotune.com
- Create your first AI expert
- Download your
.toxofile - Install this package:
pip install toxo - Start using your trained AI!
TOXO - Democratizing AI Training for Everyone 🧠✨
toxo_public_python_package
toxo_public_python_package
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 toxo-1.0.6.tar.gz.
File metadata
- Download URL: toxo-1.0.6.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11568595d592deeda9374eb0a562f262d3d4af73371e6262b920d77884fc2b00
|
|
| MD5 |
c405bd1855a99f8549a5e9e55be5aa34
|
|
| BLAKE2b-256 |
b2226555f9b6ab4570d1b5890ce0befae23274197994c5dc59dfe3d9665f8e4b
|
Provenance
The following attestation bundles were made for toxo-1.0.6.tar.gz:
Publisher:
publish-to-pypi.yml on spiderdev27/toxo_public_python_package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
toxo-1.0.6.tar.gz -
Subject digest:
11568595d592deeda9374eb0a562f262d3d4af73371e6262b920d77884fc2b00 - Sigstore transparency entry: 498598736
- Sigstore integration time:
-
Permalink:
spiderdev27/toxo_public_python_package@577ad90605c9a480dab801c57351e2aa8e26aa7c -
Branch / Tag:
refs/tags/v1.0.6 - Owner: https://github.com/spiderdev27
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@577ad90605c9a480dab801c57351e2aa8e26aa7c -
Trigger Event:
push
-
Statement type:
File details
Details for the file toxo-1.0.6-py3-none-any.whl.
File metadata
- Download URL: toxo-1.0.6-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d05453a67a55d17d8191090f8511d79cc015cf51b7725d85c1b53a6031637579
|
|
| MD5 |
f61decb618012f7bb252a7d09f49fad5
|
|
| BLAKE2b-256 |
0993e9a7eb36009c8a294f9b8eb6acc7db154890bf7d626ccbc35cc0f870f296
|
Provenance
The following attestation bundles were made for toxo-1.0.6-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on spiderdev27/toxo_public_python_package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
toxo-1.0.6-py3-none-any.whl -
Subject digest:
d05453a67a55d17d8191090f8511d79cc015cf51b7725d85c1b53a6031637579 - Sigstore transparency entry: 498598745
- Sigstore integration time:
-
Permalink:
spiderdev27/toxo_public_python_package@577ad90605c9a480dab801c57351e2aa8e26aa7c -
Branch / Tag:
refs/tags/v1.0.6 - Owner: https://github.com/spiderdev27
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@577ad90605c9a480dab801c57351e2aa8e26aa7c -
Trigger Event:
push
-
Statement type: