Static method to create an instance of ClickHouseStore from documents.
fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
args: ClickHouseLibArgs
): Promise<ClickHouseStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | The documents to use. |
embeddings* | EmbeddingsInterface | The embeddings to use. |
args* | ClickHouseLibArgs | The arguments for the ClickHouseStore. |