Class ModelConfigCodegenProvider
java.lang.Object
io.helidon.integrations.langchain4j.codegen.ModelConfigCodegenProvider
- All Implemented Interfaces:
CodegenExtensionProvider,CodegenProvider
A provider for LLM model config blueprint code generator,
config is generated by introspecting lc4j model builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CodegenContext ctx, TypeName generator) Create a new instance of the extension provider.Annotations that are supported.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.codegen.spi.CodegenProvider
supportedAnnotationPackages, supportedMetaAnnotations, supportedOptions
-
Constructor Details
-
ModelConfigCodegenProvider
public ModelConfigCodegenProvider()Public no-arg constructor required byServiceLoader.
-
-
Method Details
-
supportedAnnotations
Description copied from interface:CodegenProviderAnnotations that are supported.- Specified by:
supportedAnnotationsin interfaceCodegenProvider- Returns:
- set of annotation types
- See Also:
-
create
Description copied from interface:CodegenExtensionProviderCreate a new instance of the extension provider.- Specified by:
createin interfaceCodegenExtensionProvider- Parameters:
ctx- codegen context for the current environmentgenerator- type of the generator (annotation processor, maven plugin etc.), for reporting purposes- Returns:
- a new codegen extension
-