TigerResearch / TigerBot

TigerBot: A multi-language multi-task LLM
https://www.tigerbot.com
Apache License 2.0
2.24k stars 194 forks source link

调用function_call api时出错 #146

Open boquanzhou opened 11 months ago

boquanzhou commented 11 months ago

payload: { "model": "tigerbot-70b-chat", "query": "计算 1+1", "functions": [ { "name": "eval_math", "description": "计算数学表达式的值", "parameters": { "type": "object", "properties": { "expression": { "type": "string", "description": "数学表达式" } }, "required": [ "expression" ] } } ] }

err: { "error": { "code": 500, "status": "INTERNAL", "message": "服务调用异常", "details": [] } }

livelxw commented 11 months ago

已经修复,感谢反馈。

boquanzhou commented 11 months ago

已经修复,感谢反馈。

这个例子是没问题了,但是如果query比较长,functions也比较多的情况,会返回: image