Static method to create a new PGVectorStore instance from a
connection. It creates a table if one does not exist, and calls
connect to return a new instance of PGVectorStore.
initialize(
embeddings: EmbeddingsInterface,
config: PGVectorStoreArgs __type
): Promise<PGVectorStore>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | Embeddings instance. |
config* | PGVectorStoreArgs & __type |