AppAgent icon indicating copy to clipboard operation
AppAgent copied to clipboard

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

Open tao-taoran opened this issue 1 year ago • 4 comments

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.

经常遇到越界的问题

tao-taoran avatar Feb 29 '24 08:02 tao-taoran

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

mnotgod96 avatar Mar 03 '24 07:03 mnotgod96

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

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

tao-taoran avatar Mar 05 '24 05:03 tao-taoran

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

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

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

mnotgod96 avatar Mar 05 '24 07:03 mnotgod96

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

kx-kexi avatar Mar 28 '24 02:03 kx-kexi