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