Type Alias CreateExampleOptions

CreateExampleOptions: {
    createdAt?: Date;
    datasetId?: string;
    datasetName?: string;
    exampleId?: string;
    metadata?: KVMap;
    sourceRunId?: string;
    split?: string | string[];
}

Type declaration

  • OptionalcreatedAt?: Date

    The creation date of the example.

  • OptionaldatasetId?: string

    The ID of the dataset to create the example in.

  • OptionaldatasetName?: string

    The name of the dataset to create the example in (if dataset ID is not provided).

  • OptionalexampleId?: string

    A unique identifier for the example.

  • Optionalmetadata?: KVMap

    Additional metadata associated with the example.

  • OptionalsourceRunId?: string

    The ID of the source run associated with this example.

  • Optionalsplit?: string | string[]

    The split(s) to assign the example to.