Class VectorStoreManager
java.lang.Object
com.logicaldoc.ai.embedding.store.VectorStoreManager
A manager for
ExtendedVectorStores- Since:
- 9.2.2
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorStoreManagerget()Gets the object available in the application contextgetVectorStore(EmbeddingScheme scheme) static org.springframework.ai.embedding.EmbeddingModel
-
Constructor Details
-
VectorStoreManager
public VectorStoreManager()
-
-
Method Details
-
get
Gets the object available in the application context- Returns:
- the instance of this object in the application context
-
getVectorStore
public ExtendedVectorStore getVectorStore(EmbeddingScheme scheme) throws com.logicaldoc.core.PersistenceException - Throws:
com.logicaldoc.core.PersistenceException
-
instantiateEmbeddingModel
public static org.springframework.ai.embedding.EmbeddingModel instantiateEmbeddingModel(EmbeddingScheme scheme) throws com.logicaldoc.core.PersistenceException - Throws:
com.logicaldoc.core.PersistenceException
-