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
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
verbose?: boolean

Generated using TypeDoc