Spaces:
Runtime error
Runtime error
Initial release: CyberSec-API gateway with REST endpoints for 3 cybersecurity models
ecbf601 verified | 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) | |