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