Skip to content

Commit

Permalink
Documented support for customColumns
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Dec 30, 2024
1 parent 6972314 commit 5ec68b8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion apps/evalite-docs/src/content/docs/guides/multi-modal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,18 @@ evalite("My Eval", {
output: readFileSync("path/to/file.jpg"),
});

// 4. ...and returned from the task itself.
// 4. ...returned from the task itself...
return readFileSync("path/to/new-file.jpg", input);
},
experimental_customColumns: async () => {
return [
{
label: "File",
// 5. ...and returned from customColumns:
value: readFileSync("path/to/new-file.jpg", input),
},
];
},
scorers: [],
});
```
Expand Down

0 comments on commit 5ec68b8

Please sign in to comment.