Type Alias CreateExampleOptions

CreateExampleOptions: {
    attachments?: Attachments;
    createdAt?: Date;
    datasetId?: string;
    datasetName?: string;
    exampleId?: string;
    metadata?: KVMap;
    sourceRunId?: string;
    split?: string | string[];
    useSourceRunAttachments?: string[];
    useSourceRunIO?: boolean;
}

Type declaration

  • Optionalattachments?: Attachments

    Attachments for the example

  • 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.

  • OptionaluseSourceRunAttachments?: string[]

    Which attachments from the source run to use.

  • OptionaluseSourceRunIO?: boolean

    Whether to use the inputs and outputs from the source run.