fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
dbConfig| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | |
embeddings* | EmbeddingsInterface | |
dbConfig* | TigrisLibArgs |
Static method to create a new instance of TigrisVectorStore from an array of Document instances.
An array of Document instances to be added to the Tigris database.
An instance of Embeddings to be used for embedding the documents.
An instance of TigrisLibArgs to be used for configuring the Tigris database.