POST /v2/gen-ai/evaluation_datasets
To create an evaluation dataset, send a POST request to /v2/gen-ai/evaluation_datasets
.
Servers
- https://api.digitalocean.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
name |
String | No |
The name of the agent evaluation dataset. |
file_upload_dataset |
Object | No |
File to upload as data source for knowledge base. |
file_upload_dataset.size_in_bytes |
String | No |
The size of the file in bytes |
file_upload_dataset.stored_object_key |
String | No |
The object key the file was stored as |
file_upload_dataset.original_file_name |
String | No |
The original file name |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.