Class AiServiceMethodCreateInfo
java.lang.Object
io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static final record
static final record
static final record
static final record
static final record
-
Constructor Summary
ConstructorsConstructorDescriptionAiServiceMethodCreateInfo
(String interfaceName, String methodName, Optional<AiServiceMethodCreateInfo.TemplateInfo> systemMessageInfo, AiServiceMethodCreateInfo.UserMessageInfo userMessageInfo, Optional<Integer> memoryIdParamPosition, boolean requiresModeration, String returnTypeSignature, Optional<Integer> overrideChatModelParamPosition, Optional<AiServiceMethodCreateInfo.MetricsTimedInfo> metricsTimedInfo, Optional<AiServiceMethodCreateInfo.MetricsCountedInfo> metricsCountedInfo, Optional<AiServiceMethodCreateInfo.SpanInfo> spanInfo, AiServiceMethodCreateInfo.ResponseSchemaInfo responseSchemaInfo, Map<String, jakarta.enterprise.util.AnnotationLiteral<?>> toolClassInfo, List<String> mcpClientNames, boolean switchToWorkerThreadForToolExecution, List<String> inputGuardrailsClassNames, List<String> outputGuardrailsClassNames, String outputTokenAccumulatorClassName, String responseAugmenterClassName) -
Method Summary
Modifier and TypeMethodDescriptionint
List
<Class<? extends InputGuardrail>> List
<Class<? extends OutputGuardrail>> Class
<? extends AiResponseAugmenter<?>> List
<dev.langchain4j.agent.tool.ToolSpecification> boolean
boolean
void
setOutputTokenAccumulator
(OutputTokenAccumulator accumulator) void
setResponseAugmenter
(Class<? extends AiResponseAugmenter<?>> augmenter)
-
Constructor Details
-
AiServiceMethodCreateInfo
public AiServiceMethodCreateInfo(String interfaceName, String methodName, Optional<AiServiceMethodCreateInfo.TemplateInfo> systemMessageInfo, AiServiceMethodCreateInfo.UserMessageInfo userMessageInfo, Optional<Integer> memoryIdParamPosition, boolean requiresModeration, String returnTypeSignature, Optional<Integer> overrideChatModelParamPosition, Optional<AiServiceMethodCreateInfo.MetricsTimedInfo> metricsTimedInfo, Optional<AiServiceMethodCreateInfo.MetricsCountedInfo> metricsCountedInfo, Optional<AiServiceMethodCreateInfo.SpanInfo> spanInfo, AiServiceMethodCreateInfo.ResponseSchemaInfo responseSchemaInfo, Map<String, jakarta.enterprise.util.AnnotationLiteral<?>> toolClassInfo, List<String> mcpClientNames, boolean switchToWorkerThreadForToolExecution, List<String> inputGuardrailsClassNames, List<String> outputGuardrailsClassNames, String outputTokenAccumulatorClassName, String responseAugmenterClassName)
-
-
Method Details
-
getInterfaceName
-
getMethodName
-
getSystemMessageInfo
-
getUserMessageInfo
-
getMemoryIdParamPosition
-
isRequiresModeration
public boolean isRequiresModeration() -
getReturnTypeSignature
-
getOverrideChatModelParamPosition
-
getReturnType
-
getMetricsTimedInfo
-
getMetricsCountedInfo
-
getSpanInfo
-
getResponseSchemaInfo
-
getToolClassInfo
-
getMcpClientNames
-
getToolSpecifications
-
getToolExecutors
-
getOutputGuardrailsClassNames
-
getOutputGuardrailsClasses
-
getResponseAugmenterClassName
-
getResponseAugmenter
-
getGuardrailsMaxRetry
public int getGuardrailsMaxRetry() -
getInputGuardrailsClassNames
-
getInputGuardrailsClasses
-
getOutputTokenAccumulatorClassName
-
setOutputTokenAccumulator
-
getOutputTokenAccumulator
-
getUserMessageTemplate
-
isSwitchToWorkerThreadForToolExecution
public boolean isSwitchToWorkerThreadForToolExecution() -
setResponseAugmenter
-