Interface that defines the arguments required to create a PGVectorStore instance. It includes Postgres connection options, table name, filter, and verbosity level.

Hierarchy

  • PGVectorStoreArgs

Properties

postgresConnectionOptions: PoolConfig
tableName: string
chunkSize?: number

The amount of documents to chunk by when adding vectors.

Default

500
collectionMetadata?: null | Metadata
collectionName?: string
collectionTableName?: string
columns?: {
    contentColumnName?: string;
    idColumnName?: string;
    metadataColumnName?: string;
    vectorColumnName?: string;
}

Type declaration

  • Optional contentColumnName?: string
  • Optional idColumnName?: string
  • Optional metadataColumnName?: string
  • Optional vectorColumnName?: string
filter?: Metadata
ids?: string[]
verbose?: boolean

Generated using TypeDoc