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