Interface Langchain4jLanguageModel

All Superinterfaces:
io.micronaut.core.naming.Described, Feature, Langchain4jFeature, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered
All Known Implementing Classes:
AnthropicLangchain4jLanguageModel, AzureLangchain4jLanguageModel, BedrockLangchain4jLanguageModel, GoogleAiGeminiLangchain4jLanguageModel, HuggingFaceLangchain4jLanguageModel, MistralAiLangchain4jLanguageModel, OllamaLangchain4jLanguageModel, OpenAiLangchain4jLanguageModel, VertexAiGeminiLangchain4jLanguageModel, VertexAiLangchain4jLanguageModel

public interface Langchain4jLanguageModel extends Langchain4jFeature
  • Method Details

    • getDescription

      default String getDescription()
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described
      Specified by:
      getDescription in interface Feature
    • supports

      default boolean supports(ApplicationType applicationType)
      Description copied from interface: Feature
      This method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied.
      Specified by:
      supports in interface Feature
      Parameters:
      applicationType - The application type
      Returns:
      True if the feature can be selected by the user
    • getCategory

      default String getCategory()
      Specified by:
      getCategory in interface Feature
      Returns:
      The Category to which the feature belongs to.
    • addDependencies

      default void addDependencies(GeneratorContext generatorContext)
      Specified by:
      addDependencies in interface Langchain4jFeature