Professional Multimodal AI Engine for Onyx platform
Project description
Initialize the engine
engine = OnyxEngine(model_id="google/gemma-4-E2B-it")
Run the server
if name == "main": engine.run(host="0.0.0.0", port=7860)
---
🌐 Production / Hugging Face Spaces
```python
from ONYXAI_Gemma4E2B import OnyxEngine
import uvicorn
import os
engine = OnyxEngine(model_id="google/gemma-4-E2B-it")
app = engine.app
@app.get("/")
def home():
return {"message": "ONYX Engine is running!"}
if __name__ == "__main__":
port = int(os.environ.get("PORT", 7860))
uvicorn.run(app, host="0.0.0.0", port=port)
🛠 API Usage Endpoint
POST /predict
Example Request
{
"messages": [
{
"role": "user",
"content": "Explain the importance of AI in modern software engineering."
}
],
"temperature": 0.7,
"max_tokens": 1024
}
🔗 Links Organization: ONYX / RUI Company Author: Eng. Rawan Jassim
© 2026 ONYX. All rights reserved.
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
onyx_ai_gemma4-0.1.5.tar.gz
(3.7 kB
view details)
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 onyx_ai_gemma4-0.1.5.tar.gz.
File metadata
- Download URL: onyx_ai_gemma4-0.1.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49af90d4e4e14dc6d0dda4f0337e67cd1a52e2a67182e1f011bf29330ba4f42b
|
|
| MD5 |
62a9997fbf7be2b8abd3a64d05f2eccd
|
|
| BLAKE2b-256 |
5a44c85ac78f5a7721d979eacae86cc53db6bfffa2bf75a6da1f0e508ed919d2
|
File details
Details for the file onyx_ai_gemma4-0.1.5-py3-none-any.whl.
File metadata
- Download URL: onyx_ai_gemma4-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4c05bcb6ed843ce593f5f90b3dd2f895ea5f93c310830b1a05f1ea370a49763
|
|
| MD5 |
851b3bab03e44acbb59815557311629b
|
|
| BLAKE2b-256 |
a063d80088e5c0113b7d7727dbc64c356ad2cfcf9d2df14e48b48bfb692831fa
|