Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,29 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
-
pinned:
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: π΄ ππ πππ API
|
| 3 |
+
emoji: π
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
+
pinned: true
|
| 8 |
+
license: mit
|
| 9 |
+
short_description: Test
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# π΄ ππ πππ Chat API
|
| 13 |
+
|
| 14 |
+
Emotionally intelligent chatbot API with memory. Use the endpoint below to integrate with your applications.
|
| 15 |
+
|
| 16 |
+
## API Endpoints
|
| 17 |
+
|
| 18 |
+
### Chat Endpoint
|
| 19 |
+
`POST /chat`
|
| 20 |
+
|
| 21 |
+
**Parameters:**
|
| 22 |
+
- `query`: Your message (required)
|
| 23 |
+
- `session_id`: Conversation ID (optional, default="default")
|
| 24 |
+
|
| 25 |
+
**Example:**
|
| 26 |
+
```bash
|
| 27 |
+
curl -X POST "https://ochinpo-helper.hf.space/chat" \
|
| 28 |
+
-d "query=How's it going?" \
|
| 29 |
+
-d "session_id=user123"
|