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

ERROR: an exception occurs while parsing the model response: list index out of range #55

Open
tao-taoran opened this issue Feb 29, 2024 · 4 comments

Comments

@tao-taoran
Copy link

ERROR: an exception occurs while parsing the model response: list index out of range

Thought: The action of tapping on the chat with my wife does not match the given task of sending a message to her. It seems the user has navigated to a different interface.
Documentation: The UI element with the number '2' opens a menu with options for adding friends, starting a group chat, scanning a code, and making a payment.

Autonomous exploration finished unexpectedly. 1 docs generated.

经常遇到越界的问题

@mnotgod96
Copy link
Owner

目前对异常保护确实没有做得很完备,这里的错误看上去是因为模型没有遵循prompt的指示输出“Decision”字段,导致正则匹配时没有匹配到而产生的数组越界

@tao-taoran
Copy link
Author

目前对异常保护确实没有做得很完备,这里的错误看上去是因为模型没有遵循prompt的指示输出“Decision”字段,导致正则匹配时没有匹配到而产生的数组越界

是不是因为通义千问的模型回复和gpt4的回复格式上不一样导致?

@mnotgod96
Copy link
Owner

目前对异常保护确实没有做得很完备,这里的错误看上去是因为模型没有遵循prompt的指示输出“Decision”字段,导致正则匹配时没有匹配到而产生的数组越界

是不是因为通义千问的模型回复和gpt4的回复格式上不一样导致?

可以认为是通义千问的指令遵循能力比较弱,不能像GPT4V那样按照prompt给出的输出规范输出。例如这里的Decision是我要求模型必须输出的一个字段,但是通义千问没有遵循我的指令。

@kx-kexi
Copy link

kx-kexi commented Mar 28, 2024

为什么我使用gpt4也会出现在这个错误呢

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

3 participants