fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | Array of |
embeddings* | EmbeddingsInterface | Embeddings instance. |
dbConfig | Partial<VercelPostgresFields> & __type |
Static method to create a new VercelPostgres instance from an
array of Document instances. It adds the documents to the store.