weaviate-client
    Preparing search index...

    Type Alias InsertObject<T>

    The available options to the data.insert method.

    type InsertObject<T> = {
        id?: string;
        properties?: NonReferenceInputs<T>;
        references?: ReferenceInputs<T>;
        vectors?: number[] | Vectors;
    }

    Type Parameters

    • T
    Index

    Properties

    id?: string

    The ID of the object to be inserted. If not provided, a new ID will be generated.

    properties?: NonReferenceInputs<T>

    The properties of the object to be inserted

    references?: ReferenceInputs<T>

    The references of the object to be inserted

    vectors?: number[] | Vectors

    The vector(s) of the object to be inserted