langchain.js
    Preparing search index...

    Type Alias CreateExampleOptions

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

    Properties

    attachments?: Attachments

    Attachments for the example

    createdAt?: Date

    The creation date of the example.

    datasetId?: string

    The ID of the dataset to create the example in.

    datasetName?: string

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

    exampleId?: string

    A unique identifier for the example.

    metadata?: KVMap

    Additional metadata associated with the example.

    sourceRunId?: string

    The ID of the source run associated with this example.

    split?: string | string[]

    The split(s) to assign the example to.

    useSourceRunAttachments?: string[]

    Which attachments from the source run to use.

    useSourceRunIO?: boolean

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