This interface define the optional fields for adding vector

  • ids - vector of ids for each document. If undefined, then uuid will be used
  • metadata - vector of metadata object for each document
interface AddVectorOptions {
    ids?: string[];
    metadata?: Record<string, any>[];
}

Properties

Properties

ids?: string[]
metadata?: Record<string, any>[]

Generated using TypeDoc