feat: audio chat

This commit is contained in:
superobk
2024-04-08 17:21:44 +08:00
parent 703bdaec5a
commit 41621b44f7
4 changed files with 42 additions and 3 deletions

View File

@ -17,8 +17,7 @@ class Tesou(Blackbox):
# 用户输入的数据格式为:[{"id": "123", "prompt": "叉烧饭,帮我查询叉烧饭的介绍"}]
def processing(self, id, prompt) -> str:
url = 'http://120.196.116.194:48891/'
url = 'http://120.196.116.194:48891/chat/'
message = {
"user_id": id,
"prompt": prompt,