File size: 1,520 Bytes
e08832d
ecbf601
 
 
 
e08832d
ecbf601
e08832d
ecbf601
 
 
 
 
 
 
 
 
 
 
e08832d
 
ecbf601
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
title: CyberSec-API
emoji: "\U0001F6E1\uFE0F"
colorFrom: red
colorTo: gray
sdk: gradio
sdk_version: 5.50.0
app_file: app.py
pinned: true
license: apache-2.0
tags:
  - api
  - cybersecurity
  - inference
  - rest-api
  - iso27001
  - rgpd
  - security
short_description: REST API gateway for CyberSec AI models
---

# CyberSec-API

REST API gateway providing unified access to three specialized cybersecurity AI models:

| Model | Specialty | Size |
|-------|-----------|------|
| **ISO27001-Expert** | ISO 27001 compliance and ISMS guidance | 1.5B |
| **RGPD-Expert** | GDPR/RGPD data protection regulation | 1.5B |
| **CyberSec-Assistant** | General cybersecurity operations | 3B |

## API Endpoints

| Method | Endpoint | Description |
|--------|----------|-------------|
| `POST` | `/api/chat` | Send a message to a specific model |
| `POST` | `/api/compare` | Compare responses from all 3 models |
| `GET`  | `/api/models` | List available models and their status |
| `GET`  | `/api/health` | Health check endpoint |

## Quick Start

```python
from gradio_client import Client

client = Client("AYI-NEDJIMI/CyberSec-API")
result = client.predict(
    message="What is ISO 27001?",
    model_name="ISO27001-Expert",
    api_name="/chat"
)
print(result)
```

## Links

- [ISO27001-Expert Model](https://huggingface.co/AYI-NEDJIMI/ISO27001-Expert-1.5B)
- [RGPD-Expert Model](https://huggingface.co/AYI-NEDJIMI/RGPD-Expert-1.5B)
- [CyberSec-Assistant Model](https://huggingface.co/AYI-NEDJIMI/CyberSec-Assistant-3B)