How to Bulk Import Variable Values by Uploading a CSV File?
First, go to the page where you can view the variable value list of a template. Click on the "Bulk Import" button, then in the pop-up window, download the CSV template corresponding to the variable list. The first row of the CSV template contains all the variable names in that variable list. From the second row onwards, you need to add different variable values in the file, with each row representing a set of variable values.
The following variable names are reserved and have specific meanings. They cannot be used to define your own variables:
completion
: Represents the result generated by the large model, and there can be only one such item in a variable list.ideal
: Represents the ideal answer, and there can be multiple such items in a variable list.context
: Represents background information, and there can be multiple such items in a variable list.
If you need to add multiple ideal or context values to a single data entry, you can add columns with the same name in the CSV file, like this:
user_question | completion | ideal | ideal | context | context | context |
---|---|---|---|---|---|---|
value1 | generated answer | ideal answer1 | ideal answer2 | context 1 | context 2 | context 3 |
After editing and updating your CSV file locally, you can complete the bulk addition of variable values in EvalsOne by using the bulk upload function.