Creates a new PrismaVectorStore from the specified texts.
fromTexts(
texts: string[],
metadatas: object[],
embeddings: EmbeddingsInterface,
dbConfig: __type
): Promise<DefaultPrismaVectorStore>| Name | Type | Description |
|---|---|---|
texts* | string[] | The texts to use to create the store. |
metadatas* | object[] | The metadata for the texts. |
embeddings* | EmbeddingsInterface | The embeddings to use. |
dbConfig* | __type | The database configuration. |