Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,29 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
-
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: FugthDesign AI Backend
|
| 3 |
+
emoji: 🤖
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
---
|
| 9 |
|
| 10 |
+
## FugthDesign AI Backend
|
| 11 |
+
|
| 12 |
+
This Space provides the backend API for the floating AI assistant on the [fugthdesign.space](http://fugthdesign.space/) website.
|
| 13 |
+
|
| 14 |
+
### Configuration
|
| 15 |
+
- **Hardware:** This space is configured to run on **CPU hardware**.
|
| 16 |
+
- **Model:** `stablelm-zephyr-3b.Q3_K_S.gguf`
|
| 17 |
+
|
| 18 |
+
### Performance Note
|
| 19 |
+
⚠️ This Space is running on a free CPU and is intended for demonstration purposes only. Response times will be slow. For real-time performance, upgrade to a GPU hardware in the settings.
|
| 20 |
+
|
| 21 |
+
### API Endpoint: `/chat`
|
| 22 |
+
- **Method:** POST
|
| 23 |
+
- **Body (JSON):**
|
| 24 |
+
```json
|
| 25 |
+
{
|
| 26 |
+
"userInput": "Hello, how are you?",
|
| 27 |
+
"persona": "You are a helpful assistant.",
|
| 28 |
+
"localKnowledge": "Some extra context for the AI."
|
| 29 |
+
}
|