Uses of Class
com.microsoft.semantickernel.services.chatcompletion.AuthorRole
-
Packages that use AuthorRole Package Description com.microsoft.semantickernel.services.chatcompletion -
-
Uses of AuthorRole in com.microsoft.semantickernel.services.chatcompletion
Methods in com.microsoft.semantickernel.services.chatcompletion that return AuthorRole Modifier and Type Method Description AuthorRoleChatMessageContent. getAuthorRole()Gets the author role that generated the contentstatic AuthorRoleAuthorRole. valueOf(String name)Returns the enum constant of this type with the specified name.static AuthorRole[]AuthorRole. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.microsoft.semantickernel.services.chatcompletion with parameters of type AuthorRole Modifier and Type Method Description voidChatHistory. addMessage(AuthorRole authorRole, String content)Add a message to the chat historyvoidChatHistory. addMessage(AuthorRole authorRole, String content, Charset encoding, FunctionResultMetadata metadata)Add a message to the chat historyConstructors in com.microsoft.semantickernel.services.chatcompletion with parameters of type AuthorRole Constructor Description ChatMessageContent(AuthorRole authorRole, String content)Creates a new instance of theChatMessageContentclass.ChatMessageContent(AuthorRole authorRole, String content, String modelId, T innerContent, Charset encoding, FunctionResultMetadata metadata)Creates a new instance of theChatMessageContentclass.ChatMessageContent(AuthorRole authorRole, List<KernelContent<T>> items, String modelId, T innerContent, Charset encoding, FunctionResultMetadata metadata)Creates a new instance of theChatMessageContentclass.
-