leoni6332
02/06/2025, 12:26 PMpromptfoo share and exported the table to JSON after adding some comments. When I try to import this file with promptfoo import I've got the following error:
Failed to import eval: TypeError: Cannot read properties of undefined (reading 'version')
It seems that the format of this JSON is not importable. Format of the exported JSON:
{
"head": {
"prompts": [Array of prompt objects],
"vars": [Array of variable names]
},
"body": [Array of test results]
}
Format which I've got when doing promptfoo export
{
"evalId": "string",
"results": {
"version": number,
"timestamp": "string",
"prompts": [],
"results": []
...
}
Here is my question: Is it possible to import content from a shared evaluation?