Class GoogleAiGeminiLangchain4jLanguageModel

java.lang.Object
io.micronaut.projectgen.micronaut.features.langchain4j.languagemodels.GoogleAiGeminiLangchain4jLanguageModel
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature, OpenRewriteFeature, Langchain4jFeature, Langchain4jLanguageModel

@Requires(property="micronaut.starter.feature.langchain4j.googleai.gemini.enabled", value="true", defaultValue="true") @Singleton public class GoogleAiGeminiLangchain4jLanguageModel extends Object implements Langchain4jLanguageModel, OpenRewriteFeature
Feature that provides integration with Google AI Gemini's Langchain4j language model in Micronaut. Adds the necessary configuration and recipes for Google AI Gemini language model support.
  • Constructor Details

    • GoogleAiGeminiLangchain4jLanguageModel

      public GoogleAiGeminiLangchain4jLanguageModel()
  • Method Details

    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Feature
      Returns:
      The title of the feature
    • getName

      public String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Specified by:
      getName in interface Feature
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      the name of the feature
    • getRecipes

      public List<String> getRecipes(GeneratorContext generatorContext)
      Specified by:
      getRecipes in interface OpenRewriteFeature