Create a vector store from documents.
fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
config: TypesenseConfig
): Promise<Typesense>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | documents |
embeddings* | EmbeddingsInterface | embeddings |
config* | TypesenseConfig | Typesense configuration |