fromTexts(
texts: string[],
metadatas: object | object[],
embeddings: EmbeddingsInterface| Name | Type | Description |
|---|---|---|
texts* | string[] | Array of texts to be converted to |
metadatas* | object | object[] | Array or single object of metadata to be associated with the texts. |
embeddings* | EmbeddingsInterface |
|
dbConfig* | QdrantLibArgs |
Static method to create a QdrantVectorStore instance from texts. Each
text is associated with metadata and converted to a Document
instance, which is then added to the Qdrant database.
QdrantLibArgs instance specifying the configuration for the Qdrant database.