public class MessageType extends Object
| Modifier and Type | Field and Description |
|---|---|
static MessageType |
ANSWER
The message content returned by the Bot to the user, supporting incremental return.
|
static MessageType |
FOLLOW_UP
If the user question suggestion switch is turned on in the Bot configuration, the reply content
related to the recommended questions will be returned.
|
static MessageType |
FUNCTION_CALL
Intermediate results of the function (function call) called during the Bot conversation
process.
|
static MessageType |
QUESTION
User input content.
|
static MessageType |
TOOL_OUTPUT
Results returned after calling the tool (function call).
|
static MessageType |
TOOL_RESPONSE
Results returned after calling the tool (function call).
|
static MessageType |
UNKNOWN |
static MessageType |
VERBOSE
In the scenario of multiple answers, the server will return a verbose package.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageType |
fromString(String value) |
String |
getValue() |
public static final MessageType QUESTION
public static final MessageType ANSWER
public static final MessageType FUNCTION_CALL
public static final MessageType TOOL_OUTPUT
public static final MessageType TOOL_RESPONSE
public static final MessageType FOLLOW_UP
public static final MessageType VERBOSE
public static final MessageType UNKNOWN
public String getValue()
public static MessageType fromString(String value)
Copyright © 2025. All rights reserved.