Update README.md
This commit is contained in:
1 parent
32e25ef456
commit
ab8adbfa12
1 file changed
+2
-4
@@ -1,10 +1,10 @@
|
|||||||
# Zalo Hermes Bot
|
# Zalo Hermes Bot
|
||||||
|
|
||||||
Kênh **Zalo Bot ↔ Hermes Agent** (không phải bot KB/wiki `:8766`).
|
Kênh **Zalo Bot ↔ Hermes Agent**.
|
||||||
|
|
||||||
Người dùng chat Zalo → bot long-poll (`python-zalo-bot`) → **Hermes API Server** (`:8642`, agent đầy đủ tool/skill/memory) → format plain-text → trả lại Zalo.
|
Người dùng chat Zalo → bot long-poll (`python-zalo-bot`) → **Hermes API Server** (`:8642`, agent đầy đủ tool/skill/memory) → format plain-text → trả lại Zalo.
|
||||||
|
|
||||||
Đây là hiện thực phương án **B** trong thực tế vận hành: event từ Zalo do bridge giữ `chat_id` và lấy câu trả lời agent rồi `send_message`. Webhook Hermes `:8644` không deliver native sang Zalo, nên bridge dùng **API Server** (cùng gateway Hermes) thay vì phụ thuộc deliver platform.
|
Trong thực tế vận hành: event từ Zalo do bridge giữ `chat_id` và lấy câu trả lời agent rồi `send_message`. Webhook Hermes `:8644` không deliver native sang Zalo, nên bridge dùng **API Server** (cùng gateway Hermes) thay vì phụ thuộc deliver platform.
|
||||||
|
|
||||||
```
|
```
|
||||||
Zalo user
|
Zalo user
|
||||||
@@ -14,8 +14,6 @@ Zalo user
|
|||||||
→ send_message
|
→ send_message
|
||||||
```
|
```
|
||||||
|
|
||||||
Khác `zalo-bot-chat` (KB support giá/wiki). Có thể chạy song song với token bot khác.
|
|
||||||
|
|
||||||
## Yêu cầu
|
## Yêu cầu
|
||||||
|
|
||||||
1. Python ≥ 3.8 (khuyến nghị 3.11)
|
1. Python ≥ 3.8 (khuyến nghị 3.11)
|
||||||
|
|||||||
Reference in new issue
Block a user