The output is a endless display of "error! choice" :
I say "endless" because it last until I do Ctrl-C.
I added some prints in the code to debug, and it appears that the error, whatever its cause, appear in the function parse_logs.
More precisely, in the "while parsed_log =='':" loop: res variable appears to be adequatly instancied, the error is probably that the Exception is then triggered for unknown reason. I also don't figure out why the endless loop whereas the sample file is only 3 lines long.
Your tool is very interesting, I can't wait to continue explore it once this issue is solved :)
Hello
I run the LogPrompt_code.py script on a sample .xls with 3 lines, with CoT strategy. The command line is the following:
python3 LogPrompt_code.py --API_KEY --dataset example.xls --strategy CoT --output_file_name testCOT
The output is a endless display of "error! choice" :
I say "endless" because it last until I do Ctrl-C.
I added some prints in the code to debug, and it appears that the error, whatever its cause, appear in the function parse_logs. More precisely, in the "while parsed_log =='':" loop: res variable appears to be adequatly instancied, the error is probably that the Exception is then triggered for unknown reason. I also don't figure out why the endless loop whereas the sample file is only 3 lines long.
Your tool is very interesting, I can't wait to continue explore it once this issue is solved :)
Best regards