ይህ ገጽ ገና ወደ አማርኛ አልተተረጎመም። የእንግሊዝኛው ጽሑፍ ቀርቧል።
Quick Start: Connecting and Invoking Custom AI Models
15-minute guide to verifying the local inference server, configuring the Odoo connector, and testing model generation.
1. Overview & Technical Architecture#
Connect and test the integrated custom model in your SmartERP deployment.
Prerequisites#
- SmartERP instance running on Python 3.12+ and PostgreSQL 16.
- Model service running locally or on network server (e.g.,
http://localhost:11434orhttps://ai.smarterp.et/v1).
1. Verifying Local Model Health#
Open a terminal and verify the model endpoint using curl:
curl -s http://localhost:11434/api/tags | jq .
Verify that smarterp-sovereign:latest appears in the active models list.
{screenshot:custom-ai-quickstart-terminal}
2. Configuring the SmartERP Model Connector#
- Log into SmartERP as an Administrator.
- Go to Settings → Technical → Ashewa AI → Model Endpoints.
- Click New and fill in:
- Endpoint Name:
Local Sovereign AI Server - Provider Protocol:
Ollama / OpenAI-Compatible REST - Base URL:
http://localhost:11434/v1 - Model Identifier:
smarterp-sovereign:latest
- Endpoint Name:
- Click Test Endpoint Latency. Confirm HTTP 200 with response latency under 350ms.
{screenshot:custom-ai-quickstart-odoo-config}
3. Testing Generation#
Open the floating AI composer, select Local Sovereign AI Server, and submit a test prompt:
"What are the mandatory tax deductions under Ethiopian Proclamation 979/2016?"
Verify structured, compliant response.
2. Prerequisites & Infrastructure Requirements#
- Runtime Environment: Python 3.12+, PostgreSQL 16 with
pgvectorextension. - Security Access Group:
Ashewa AI / Administrator(Technical ID:muk_ai.group_ai_manager) - Hardware Profile: Minimum 16 GB System RAM (CPU inference) or NVIDIA GPU with 8+ GB VRAM.
3. Step-by-Step Configuration & Verification#
Step 1: Navigating to Model Management#
- Access your SmartERP instance at
https://smarterp.et/odoo. - Open Settings → Technical → Ashewa AI → Model Registry.
- Select the custom model profile.
{screenshot:30-quick-start-step1-navigation}
Step 2: Testing Endpoint Health & Response Verification#
- Click the Run Diagnostic Health Check button.
- Verify token generation speed (tokens/sec) and latency benchmarks.
- Review sample response in the diagnostic console.
{screenshot:30-quick-start-step2-verification}
4. Advanced Configuration Points#
- Automated Tasks:
muk_ai.ir_cron_model_health_monitorruns every 15 minutes. - Multi-Tenant Boundaries: Custom model fine-tuning adapters are strictly segregated per tenant database.
5. Comprehensive Troubleshooting Matrix#
| Symptom / Error | Probable Root Cause | Resolution Action |
|---|---|---|
Connection refused: Model server unreachable | Inference daemon stopped or port blocked by firewall. | Restart model service (systemctl restart vllm) and verify firewall rules. |
Token limit exceeded on input prompt | Input context exceeded window size. | Enable context truncation in model profile settings. |
መጨረሻ የተሻሻለው: 2026-10-30