Skip to content
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

call_steps返回有误 #24

Open
TWONAN opened this issue Jul 18, 2023 · 3 comments
Open

call_steps返回有误 #24

TWONAN opened this issue Jul 18, 2023 · 3 comments

Comments

@TWONAN
Copy link

TWONAN commented Jul 18, 2023

main.py中call_steps, _ = response.split('###')有时候gpt返回的后缀不带###,可以判断一下

@zwq2018
Copy link
Owner

zwq2018 commented Jul 18, 2023

嗯 有时候是会有这个问题

@TWONAN
Copy link
Author

TWONAN commented Jul 18, 2023

因为我tushare的积分不够,instruction2 = "我想看中证500和科创50今年的指数走势",只能试试使用股票的,然后在可视化出现这个问题,目前还没有排查出来,replace_arg_list = [result_buffer[item][0] if isinstance(item, str) and ('result' in item or 'input' in item) else item for item in arg_list] # 参数
KeyError: 'input2'

@zwq2018
Copy link
Owner

zwq2018 commented Jul 18, 2023

积分不够那很多无法查询到数据,返回结果就没有,后续可视化没有输入自然会报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants