fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
dbConfig| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | |
embeddings* | EmbeddingsInterface | |
dbConfig* | __type |
Creates a new PrismaVectorStore from the specified documents.
The documents to use to create the store.
The embeddings to use.
The database configuration.