public class MsgRecord extends AbstractModel
header, skipSign| Constructor and Description |
|---|
MsgRecord() |
MsgRecord(MsgRecord source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
AgentThought |
getAgentThought()
Get Information on the thinking process of the agent.
|
Boolean |
getCanFeedback()
Get Whether to display the feedback button.
|
Boolean |
getCanRating()
Get Whether to rate.
|
String |
getContent()
Get Content.
|
ExtraInfo |
getExtraInfo()
Get Expanded information.
|
FileInfo[] |
getFileInfos()
Get File information passed in by the user.
|
String |
getFromAvatar()
Get Avatar of the sender.
|
String |
getFromName()
Get Sender name.
|
Boolean |
getHasRead()
Get Whether it is read.
|
String[] |
getImageUrls()
Get Image URL, which can be public read.
|
Boolean |
getIsFromSelf()
Get Whether it is from oneself.
|
Boolean |
getIsLlmGenerated()
Get Whether it is a large model.
|
String[] |
getOptionCards()
Get Option tab, used for multi-round dialogue.
|
QuoteInfo[] |
getQuoteInfos()
Get Location information of reference source .
|
String[] |
getReasons()
Get Reason for evaluation.
|
String |
getRecordId()
Get Record ID.
|
MsgRecordReference[] |
getReferences()
Get Reference source.
|
String |
getRelatedRecordId()
Get Associated record ID.
|
Long |
getReplyMethod()
Get Response method.
|
Long |
getScore()
Get Evaluation.
|
String |
getSessionId()
Get The Session ID corresponding to the current record.
|
TaskFlowInfo |
getTaskFlow()
Get Task information.
|
String |
getTimestamp()
Get Timestamp.
|
TokenStat |
getTokenStat()
Get Statistical information of the current token.
|
Long |
getType()
Get Record type.
|
WorkflowInfo |
getWorkFlow()
Get Workflow information.
|
void |
setAgentThought(AgentThought AgentThought)
Set Information on the thinking process of the agent.
|
void |
setCanFeedback(Boolean CanFeedback)
Set Whether to display the feedback button.
|
void |
setCanRating(Boolean CanRating)
Set Whether to rate.
|
void |
setContent(String Content)
Set Content.
|
void |
setExtraInfo(ExtraInfo ExtraInfo)
Set Expanded information.
|
void |
setFileInfos(FileInfo[] FileInfos)
Set File information passed in by the user.
|
void |
setFromAvatar(String FromAvatar)
Set Avatar of the sender.
|
void |
setFromName(String FromName)
Set Sender name.
|
void |
setHasRead(Boolean HasRead)
Set Whether it is read.
|
void |
setImageUrls(String[] ImageUrls)
Set Image URL, which can be public read.
|
void |
setIsFromSelf(Boolean IsFromSelf)
Set Whether it is from oneself.
|
void |
setIsLlmGenerated(Boolean IsLlmGenerated)
Set Whether it is a large model.
|
void |
setOptionCards(String[] OptionCards)
Set Option tab, used for multi-round dialogue.
|
void |
setQuoteInfos(QuoteInfo[] QuoteInfos)
Set Location information of reference source .
|
void |
setReasons(String[] Reasons)
Set Reason for evaluation.
|
void |
setRecordId(String RecordId)
Set Record ID.
|
void |
setReferences(MsgRecordReference[] References)
Set Reference source.
|
void |
setRelatedRecordId(String RelatedRecordId)
Set Associated record ID.
|
void |
setReplyMethod(Long ReplyMethod)
Set Response method.
|
void |
setScore(Long Score)
Set Evaluation.
|
void |
setSessionId(String SessionId)
Set The Session ID corresponding to the current record.
|
void |
setTaskFlow(TaskFlowInfo TaskFlow)
Set Task information.
|
void |
setTimestamp(String Timestamp)
Set Timestamp.
|
void |
setTokenStat(TokenStat TokenStat)
Set Statistical information of the current token.
|
void |
setType(Long Type)
Set Record type.
|
void |
setWorkFlow(WorkflowInfo WorkFlow)
Set Workflow information.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic MsgRecord()
public MsgRecord(MsgRecord source)
public String getContent()
public void setContent(String Content)
Content - Content.public String getSessionId()
public void setSessionId(String SessionId)
SessionId - The Session ID corresponding to the current record.public String getRecordId()
public void setRecordId(String RecordId)
RecordId - Record ID.public String getRelatedRecordId()
public void setRelatedRecordId(String RelatedRecordId)
RelatedRecordId - Associated record ID.public Boolean getIsFromSelf()
public void setIsFromSelf(Boolean IsFromSelf)
IsFromSelf - Whether it is from oneself.public String getFromName()
public void setFromName(String FromName)
FromName - Sender name.public String getFromAvatar()
public void setFromAvatar(String FromAvatar)
FromAvatar - Avatar of the sender.public String getTimestamp()
public void setTimestamp(String Timestamp)
Timestamp - Timestamp.public Boolean getHasRead()
public void setHasRead(Boolean HasRead)
HasRead - Whether it is read.public Long getScore()
public void setScore(Long Score)
Score - Evaluation.public Boolean getCanRating()
public void setCanRating(Boolean CanRating)
CanRating - Whether to rate.public Boolean getCanFeedback()
public void setCanFeedback(Boolean CanFeedback)
CanFeedback - Whether to display the feedback button.public Long getType()
public void setType(Long Type)
Type - Record type.public MsgRecordReference[] getReferences()
public void setReferences(MsgRecordReference[] References)
References - Reference source.public String[] getReasons()
public void setReasons(String[] Reasons)
Reasons - Reason for evaluation.public Boolean getIsLlmGenerated()
public void setIsLlmGenerated(Boolean IsLlmGenerated)
IsLlmGenerated - Whether it is a large model.public String[] getImageUrls()
public void setImageUrls(String[] ImageUrls)
ImageUrls - Image URL, which can be public read.public TokenStat getTokenStat()
public void setTokenStat(TokenStat TokenStat)
TokenStat - Statistical information of the current token.public Long getReplyMethod()
public void setReplyMethod(Long ReplyMethod)
ReplyMethod - Response method.
1: Large model directly replies.
2: Conservative reply, reply to unknown questions.
3: Reply to rejected question.
4: Sensitive response.
5: Directly reply to Q&A pairs. Priority will be given to answering the adopted Q&A pairs.
6: Reply with welcome words.
7: Reply for concurrency limit exceeded.
8: Global intervention knowledge.
9: Reply during the task flow process. When task_flow.type = 0 in history, it is a response from the large model.
10: Reply with task flow answer.
11: Reply from the search engine.
12: Reply after knowledge polishing.
13: Reply with image understanding.
14: Reply based on real-time document.public String[] getOptionCards()
public void setOptionCards(String[] OptionCards)
OptionCards - Option tab, used for multi-round dialogue.public TaskFlowInfo getTaskFlow()
public void setTaskFlow(TaskFlowInfo TaskFlow)
TaskFlow - Task information.public FileInfo[] getFileInfos()
public void setFileInfos(FileInfo[] FileInfos)
FileInfos - File information passed in by the user.public QuoteInfo[] getQuoteInfos()
public void setQuoteInfos(QuoteInfo[] QuoteInfos)
QuoteInfos - Location information of reference source .public AgentThought getAgentThought()
public void setAgentThought(AgentThought AgentThought)
AgentThought - Information on the thinking process of the agent.public ExtraInfo getExtraInfo()
public void setExtraInfo(ExtraInfo ExtraInfo)
ExtraInfo - Expanded information.public WorkflowInfo getWorkFlow()
public void setWorkFlow(WorkflowInfo WorkFlow)
WorkFlow - Workflow information.Copyright © 2025. All rights reserved.