Class AgentConfiguration
java.lang.Object
io.micronaut.langchain4j.agentic.AgentConfiguration
Configuration for a named agentic service agent.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration for agent chat memory. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetName()voidsetChatModel(@Nullable String chatModel)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
AgentConfiguration
- Parameters:
name- The agent configuration name
-
-
Method Details
-
getName
- Returns:
- The agent configuration name
-
getChatModel
- Returns:
- The chat model bean name to use for this agent
-
setChatModel
- Parameters:
chatModel- The chat model bean name to use for this agent
-
getMemory
- Returns:
- The chat memory configuration
-