Package kimaira.agentic.core.behavior
Class AgenticChatBehaviorImpl
java.lang.Object
kimaira.agentic.core.behavior.AgenticChatBehaviorImpl
- All Implemented Interfaces:
AgenticChatBehavior
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final kimaira.chat.client.ChatClientServiceprotected final ConversationService -
Constructor Summary
ConstructorsConstructorDescriptionAgenticChatBehaviorImpl(ConversationService conversationService, kimaira.chat.client.ChatClientService chatClientService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(kimaira.agentic.data.transfer.messaging.Message message) conversation(String conversationId) conversationStatus(String conversationId, String name) getConversationReplyTo(String conversationId, String name) getConversationStep(String conversationId, String name) <T> TpromptCallContent(String conversationId, String input, kimaira.chat.llm.Provider provider) promptCallContent(String conversationId, String input, kimaira.chat.llm.Provider provider, List<org.springframework.ai.tool.ToolCallback> tools) promptCallContent(String input, kimaira.chat.llm.Provider provider) <T> TpromptCallEntity(String input, kimaira.chat.llm.Provider provider, Class<T> clazz) voidvoidupdateConversationReplyTo(String conversationId, String name, String replyTo) voidupdateConversationStatus(String conversationId, String name, ConversationStatus conversationStatus) voidupdateConversationStep(String conversationId, String name, Long step)
-
Field Details
-
conversationService
-
chatClientService
protected final kimaira.chat.client.ChatClientService chatClientService
-
-
Constructor Details
-
AgenticChatBehaviorImpl
public AgenticChatBehaviorImpl(ConversationService conversationService, kimaira.chat.client.ChatClientService chatClientService)
-
-
Method Details
-
addMessage
public void addMessage(kimaira.agentic.data.transfer.messaging.Message message) - Specified by:
addMessagein interfaceAgenticChatBehavior
-
conversation
- Specified by:
conversationin interfaceAgenticChatBehavior
-
conversationStatus
- Specified by:
conversationStatusin interfaceAgenticChatBehavior
-
updateConversationStatus
public void updateConversationStatus(String conversationId, String name, ConversationStatus conversationStatus) - Specified by:
updateConversationStatusin interfaceAgenticChatBehavior
-
getConversationReplyTo
- Specified by:
getConversationReplyToin interfaceAgenticChatBehavior
-
updateConversationReplyTo
- Specified by:
updateConversationReplyToin interfaceAgenticChatBehavior
-
getConversationStep
- Specified by:
getConversationStepin interfaceAgenticChatBehavior
-
updateConversationStep
- Specified by:
updateConversationStepin interfaceAgenticChatBehavior
-
setValue
- Specified by:
setValuein interfaceAgenticChatBehavior
-
getValue
- Specified by:
getValuein interfaceAgenticChatBehavior
-
promptCallContent
- Specified by:
promptCallContentin interfaceAgenticChatBehavior
-
promptCallContent
public String promptCallContent(String conversationId, String input, kimaira.chat.llm.Provider provider) - Specified by:
promptCallContentin interfaceAgenticChatBehavior
-
promptCallContent
public String promptCallContent(String conversationId, String input, kimaira.chat.llm.Provider provider, List<org.springframework.ai.tool.ToolCallback> tools) - Specified by:
promptCallContentin interfaceAgenticChatBehavior
-
promptCallEntity
- Specified by:
promptCallEntityin interfaceAgenticChatBehavior
-