fromTexts(
texts: string[],
metadatas: object | object[],
embeddings: EmbeddingsInterface| Name | Type | Description |
|---|---|---|
texts* | string[] | Array of texts to add to the Pinecone database. |
metadatas* | object | object[] | Metadata associated with the texts. |
embeddings* | EmbeddingsInterface | Embeddings to use for the texts. |
dbConfig* | PineconeStoreParams | __type |
Static method that creates a new instance of the PineconeStore class from texts.
Configuration for the Pinecone database.