Class ElasticSearchLangchain4jEmbeddedStore
java.lang.Object
io.micronaut.projectgen.micronaut.features.langchain4j.embeddedstore.ElasticSearchLangchain4jEmbeddedStore
- All Implemented Interfaces:
io.micronaut.core.naming.Described,io.micronaut.core.naming.Named,io.micronaut.core.order.Ordered,Feature,OpenRewriteFeature,Langchain4jEmbeddedStore,Langchain4jFeature
@Requires(property="micronaut.starter.feature.langchain4j.store.elasticsearch.enabled",
value="true",
defaultValue="true")
@Singleton
public class ElasticSearchLangchain4jEmbeddedStore
extends Object
implements Langchain4jEmbeddedStore, OpenRewriteFeature
Implements a Langchain4j embedded store using ElasticSearch.
Integrates ElasticSearch as a backend for Langchain4j and provides
OpenRewrite recipes to automate setup.
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()The name of the feature.getRecipes(GeneratorContext generatorContext) getTitle()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.projectgen.core.feature.Feature
getOrder, isCommunity, isPreview, isVisible, processSelectedFeatures, supportsMethods inherited from interface io.micronaut.projectgen.micronaut.features.langchain4j.Langchain4jEmbeddedStore
getCategory, getDescriptionMethods inherited from interface io.micronaut.projectgen.core.openrewrite.OpenRewriteFeature
apply, getFrameworkDocumentation, getThirdPartyDocumentation, processRecipes
-
Constructor Details
-
ElasticSearchLangchain4jEmbeddedStore
public ElasticSearchLangchain4jEmbeddedStore()
-
-
Method Details
-
getTitle
- Specified by:
getTitlein interfaceFeature- Specified by:
getTitlein interfaceLangchain4jEmbeddedStore- Returns:
- The title of the feature
-
getName
Description copied from interface:FeatureThe name of the feature. It must be unique. -
getRecipes
- Specified by:
getRecipesin interfaceOpenRewriteFeature
-