Parameters
- file: The file should be in JSON/CSV Format
- space_id: The unique identifier for your space.
- dataset_name: The name of your dataset
conv_prefix
: conversation turns in OpenAI chat format.response
: the assistant turn you want to store.ground_truth
: integer labels only (for example1
for correct,0
for incorrect). Sending strings will raise400 Bad Request
with the messageinvalid input for query argument
.context
: optional metadata string.
Response shape
The current deployment streams the uploaded rows back in the body instead of the{ "dataset_id": ..., "message": ... }
object documented in the OpenAPI
schema. Each array element will include an auto-generated id
that you can use
with the judge endpoints.Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
Successful Response
The response is of type any
.