com.microsoft.semantickernel.implementation.chatcompletion.ChatPromptParseVisitor Maven / Gradle / Ivy
// Copyright (c) Microsoft. All rights reserved.
package com.microsoft.semantickernel.implementation.chatcompletion;
import com.azure.core.util.BinaryData;
import javax.annotation.Nullable;
public interface ChatPromptParseVisitor {
ChatPromptParseVisitor addMessage(String role, String content);
ChatPromptParseVisitor addFunction(String name, @Nullable String description,
@Nullable BinaryData parameters);
boolean areMessagesEmpty();
ChatPromptParseVisitor fromRawPrompt(String rawPrompt);
T get();
ChatPromptParseVisitor reset();
}