initialize(
embeddings: EmbeddingsInterface,
config: PGVectorStoreArgs __type
): Promise<PGVectorStore| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | |
config* | PGVectorStoreArgs & __type |
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.
Embeddings instance.