Creates a new instance of LanceDB from texts.
fromTexts(
texts: string[],
metadatas: object | object[],
embeddings: EmbeddingsInterface,
dbConfig: LanceDBArgs
): Promise<LanceDB>| Name | Type | Description |
|---|---|---|
texts* | string[] | The texts to be converted into documents. |
metadatas* | object | object[] | The metadata for the texts. |
embeddings* | EmbeddingsInterface | The embeddings to be managed. |
dbConfig | LanceDBArgs | The configuration for the LanceDB instance. |