Class OpenAiLangchain4jLanguageModel
java.lang.Object
io.micronaut.starter.feature.langchain4j.languagemodels.OpenAiLangchain4jLanguageModel
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,Feature
,Langchain4jFeature
,Langchain4jLanguageModel
@Singleton
public class OpenAiLangchain4jLanguageModel
extends Object
implements Langchain4jLanguageModel
-
Field Summary
Fields inherited from interface io.micronaut.starter.feature.langchain4j.Langchain4jFeature
ARTIFACT_ID_MICRONAUT_LANGCHAIN4J_PROCESSOR, DEPENDENCY_MICRONAUT_LANGCHAIN4J_PROCESSOR
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDependencies
(GeneratorContext generatorContext) getName()
The name of the feature.getTitle()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.starter.feature.Feature
getMicronautDocumentation, getOrder, getThirdPartyDocumentation, isCommunity, isPreview, isVisible, processSelectedFeatures
Methods inherited from interface io.micronaut.starter.feature.langchain4j.Langchain4jFeature
apply
Methods inherited from interface io.micronaut.starter.feature.langchain4j.Langchain4jLanguageModel
getCategory, getDescription, supports
-
Constructor Details
-
OpenAiLangchain4jLanguageModel
public OpenAiLangchain4jLanguageModel()
-
-
Method Details
-
getTitle
-
getName
Description copied from interface:Feature
The name of the feature. It must be unique. -
addDependencies
- Specified by:
addDependencies
in interfaceLangchain4jFeature
- Specified by:
addDependencies
in interfaceLangchain4jLanguageModel
-