Creates a new FaissStore from an existing FaissStore and an Embeddings object.
fromIndex(
targetIndex: FaissStore,
embeddings: EmbeddingsInterface,
dbConfig: __type
): Promise<FaissStore>| Name | Type | Description |
|---|---|---|
targetIndex* | FaissStore | An existing FaissStore. |
embeddings* | EmbeddingsInterface | An Embeddings object. |
dbConfig | __type | An optional configuration object for the document store. |