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