You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the OutputModel of fix_output_format_prompt is StringIO
=> fixed_output_string will be of type StringIO
=> given result = fixed_output_string, the result will be of type StringIO no matter of what the original OutputModel is
Ugh. Encountering it myself right now. This worked fine a while back. I dont recall ever changing the ragas version, so it is likely coming from some hidden dependency, or similar.
Describe the bug
I believe there is a bug in
RagasOutputParser
when OutputParserException is raised.While we try to generate new prompt, we forget to parse the output again..
Specificaly in
my chain of thoughts:
OutputModel
offix_output_format_prompt
isStringIO
=>
fixed_output_string
will be of typeStringIO
=> given
result = fixed_output_string
, theresult
will be of typeStringIO
no matter of what the originalOutputModel
isRagas version: 0.2.10
Python version: 3.10.13
I believe this issue, may be related
The text was updated successfully, but these errors were encountered: