-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError: list index out of range #16
Comments
当天的数据要在晚上才能更新,你换个request |
输出可孚医疗上周三的股价
|
请不要用周三这种词,因为时区问题,我们的周三就是美国的周二。这样会引起LLMs误会。请直接用日期,例如输出可孚医疗7月4日股价 |
|
version: 2409228 |
我这边测试过是没问题。你到demo里试试应该也是可以的。你可以查下381行输出response是啥 |
call_steps, _ = response.split('###') 这句话是把openai回复的response取出来解析,你看看它有没有内容 |
|
看起来 prompt 的输出限制不太稳定,有时候能进到 Line 291 in 2409228
有时候在 Line 277 in 2409228
出现错误:
|
我使用的是 OpenAI 的 key,tushare 积分 120,每日股票数据接口应该是能用的,但是没一次能调用成功。 |
咦 按理说这么简单的request应该还蛮稳定。我刚自己试了几次都正常。你加我17681825398 |
运行 main.py 后
问题:今天的可孚医疗股价是多少
The text was updated successfully, but these errors were encountered: