File size: 881 Bytes
6463726
b5a0121
 
6463726
 
06e1656
 
 
 
6463726
06e1656
6463726
 
b5a0121
 
06e1656
b5a0121
06e1656
 
 
b5a0121
06e1656
b5a0121
 
 
 
 
06e1656
 
 
 
b5a0121
06e1656
b5a0121
06e1656
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
title: Sahon AI
emoji: 🤖
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: 5.20.0
python_version: '3.12'
app_file: app.py
pinned: false
short_description: Transformers.js AI via Node.js + Mission Barisal
---

# Sahon AI 🤖

**Transformers.js (JavaScript) + Gradio (UI)** hybrid architecture.

- **Model:** `Xenova/phi-3-mini-4k-instruct` via Transformers.js
- **Engine:** Node.js + @huggingface/transformers
- **Runtime:** Gradio → spawns Node.js child process for ML
- **Checker:** Mission Barisal Response Validation
- **GPU:** ZeroGPU (free A10G)

## API Endpoints (OpenAI-Compatible)

| Endpoint | Method | Description |
|---|---|---|
| `/v1/models` | GET | List models |
| `/v1/chat/completions` | POST | Chat |
| `/v1/completions` | POST | Text |
| `/health` | GET | Health |

## Mission Barisal

Every response validated for bias, hallucination, quality.