Create a table for saving of vectors to be used with PostgresVectorStore.
initVectorstoreTable(
tableName: string,
vectorSize: number,
schemaName: VectorStoreTableArgs = {}
): Promise<void>| Name | Type | Description |
|---|---|---|
tableName* | string | Postgres database table name. Parameter is not escaped. Do not use with end user input. |
vectorSize* | number | Vector size for the embedding model to be used. |
schemaName | VectorStoreTableArgs | Default: {}The schema name to store Postgres database table. Default: "public". Parameter is not escaped. Do not use with end user input. |