stkim03_96161
09/20/2024, 1:05 AMnpx promptfoo eval --no-cache --repeat 1 -c ../../app/promptfoo/chat/promptfooconfig.yaml -o chat_result.json --share
I know that 'the json' is in invalid format, so they are telling me Unexpected token I in JSON at position 0
But I can't figure out which JSON is wrong. Is response of AI model? or result of test file?
would be so thankful if you give me clue for this.
Thank you!
https://cdn.discordapp.com/attachments/1286493461544960134/1286493462178304093/logs.txt?ex=66ee1be7&is=66ecca67&hm=e0f11c3d2fbf985d253e276d570b02cae494ae545ef30f92502aa620ed17154d&stkim03_96161
09/20/2024, 6:14 AMUnexpected token I in JSON at position 0 message could printed after i got Internal Server Error from https://api.promptfoo.dev/api/eval API call.michaelmichaelmichael
09/20/2024, 2:42 PMstkim03_96161
09/20/2024, 3:53 PMError: ENOENT: no such file or directory, open 'chat_result.json'
at Object.openSync (node:fs:596:3)
at readFileSync (node:fs:464:35)
at init (file:///code/tests/promptfoo/main.js:22:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: 'chat_result.json'
this error occured too.michaelmichaelmichael
09/20/2024, 3:56 PMian
09/20/2024, 5:09 PMian
09/20/2024, 5:10 PM--share it works? In that case, could you provide the json? With the results JSON we should be able to repro on our sidestkim03_96161
09/21/2024, 9:07 AM--share and send it to @ian .stkim03_96161
09/29/2024, 11:41 AMian
09/30/2024, 5:44 AM