New
- We now support adding entries to the dataset using our SDK. To add an entry
//... initialize SDK using API key
await maxim.addDatasetEntries("dataset-id", [
{
input: {
type: VariableType.TEXT,
payload: "Hello",
},
expectedOutput: {
type: VariableType.TEXT,
payload: "Hello",
},
context: {
type: VariableType.JSON,
payload: '{"key":"value"}}',
},
},
]);
expectedOutput
and context
are optional fields.
View complete documentation here: https://www.getmaxim.ai/docs/nodejssdk#dataset-management