Package io.jmix.aichat.component.chat
Class AiChat.LlmRequest
java.lang.Object
io.jmix.aichat.component.chat.AiChat.LlmRequest
- All Implemented Interfaces:
com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest,Serializable
- Enclosing class:
AiChat<T extends AiChatMessage>
protected static class AiChat.LlmRequest
extends Object
implements com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLlmRequest(String userMessage, @Nullable String systemPrompt, List<com.vaadin.flow.component.ai.common.AIAttachment> attachments) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
explicitTools, metadataSink, sessionContext
-
Field Details
-
userMessage
-
systemPrompt
-
attachments
-
-
Constructor Details
-
LlmRequest
-
-
Method Details
-
userMessage
- Specified by:
userMessagein interfacecom.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
attachments
- Specified by:
attachmentsin interfacecom.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
systemPrompt
- Specified by:
systemPromptin interfacecom.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-
tools
- Specified by:
toolsin interfacecom.vaadin.flow.component.ai.provider.LLMProvider.LLMRequest
-