SmythOS SDK
    Preparing search index...

    Type Alias TInsertDocOptions

    type TInsertDocOptions = {
        chunkOverlap?: number;
        chunkSize?: number;
        metadata?: Record<string, any>;
        returnFullVectorInfo?: boolean;
    }
    Index

    Properties

    chunkOverlap?: number

    The chunk overlap to use for the document, this will override the default embedding chunk overlap

    chunkSize?: number

    The chunk size to use for the document, this will override the default embedding chunk size

    metadata?: Record<string, any>

    The metadata to insert, can be any key/value pair

    returnFullVectorInfo?: boolean

    If set, the returned data will include the full vector information for each document