Uses of Class
com.microsoft.semantickernel.services.chatcompletion.ChatHistory
-
Packages that use ChatHistory Package Description com.microsoft.semantickernel.services.chatcompletion -
-
Uses of ChatHistory in com.microsoft.semantickernel.services.chatcompletion
Methods in com.microsoft.semantickernel.services.chatcompletion that return ChatHistory Modifier and Type Method Description ChatHistoryChatHistory. addAll(List<ChatMessageContent<?>> messages)Add all messages to the chat historyChatHistoryChatHistory. addAssistantMessage(String content)Add an assistant message to the chat historyChatHistoryChatHistory. addMessage(AuthorRole authorRole, String content)Add a message to the chat historyChatHistoryChatHistory. addMessage(AuthorRole authorRole, String content, Charset encoding, FunctionResultMetadata<?> metadata)Add a message to the chat historyChatHistoryChatHistory. addMessage(ChatMessageContent<?> content)Add a message to the chat historyChatHistoryChatHistory. addSystemMessage(String content)Add an system message to the chat historyChatHistoryChatHistory. addUserMessage(String content)Add a user message to the chat historyMethods in com.microsoft.semantickernel.services.chatcompletion with parameters of type ChatHistory Modifier and Type Method Description voidChatHistory. addAll(ChatHistory value)Add all messages from the given chat history to this chat historyreactor.core.publisher.Mono<List<ChatMessageContent<?>>>ChatCompletionService. getChatMessageContentsAsync(ChatHistory chatHistory, Kernel kernel, InvocationContext invocationContext)Gets the chat message contents asynchronously usingChatHistoryto support a turn-based conversation.reactor.core.publisher.Flux<StreamingChatContent<?>>ChatCompletionService. getStreamingChatMessageContentsAsync(ChatHistory chatHistory, Kernel kernel, InvocationContext invocationContext)Gets the chat message contents asynchronously usingChatHistoryto support a turn-based conversation.
-