public class AgentThought extends AbstractModel
header, skipSign| Constructor and Description |
|---|
AgentThought() |
AgentThought(AgentThought 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 |
|---|---|
Long |
getElapsed()
Get Current request execution time, in milliseconds.
|
FileInfo[] |
getFiles()
Get File information
|
Boolean |
getIsWorkflow()
Get Whether it is a workflow currently.
|
AgentProcedure[] |
getProcedures()
Get Detailed thinking process.
|
String |
getRecordId()
Get It corresponds to a session, session ID, used for message storage in answering.
|
String |
getRequestId()
Get Request ID
|
String |
getSessionId()
Get Session ID.
|
String |
getTraceId()
Get TraceId.
|
String |
getWorkflowName()
Get If it is a workflow, workflow name.
|
void |
setElapsed(Long Elapsed)
Set Current request execution time, in milliseconds.
|
void |
setFiles(FileInfo[] Files)
Set File information
|
void |
setIsWorkflow(Boolean IsWorkflow)
Set Whether it is a workflow currently.
|
void |
setProcedures(AgentProcedure[] Procedures)
Set Detailed thinking process.
|
void |
setRecordId(String RecordId)
Set It corresponds to a session, session ID, used for message storage in answering.
|
void |
setRequestId(String RequestId)
Set Request ID
|
void |
setSessionId(String SessionId)
Set Session ID.
|
void |
setTraceId(String TraceId)
Set TraceId.
|
void |
setWorkflowName(String WorkflowName)
Set If it is a workflow, workflow name.
|
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 AgentThought()
public AgentThought(AgentThought source)
public String getSessionId()
public void setSessionId(String SessionId)
SessionId - Session ID.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - Request IDpublic String getRecordId()
public void setRecordId(String RecordId)
RecordId - It corresponds to a session, session ID, used for message storage in answering. It can be generated in advance and used when saving messages.public Long getElapsed()
public void setElapsed(Long Elapsed)
Elapsed - Current request execution time, in milliseconds.public Boolean getIsWorkflow()
public void setIsWorkflow(Boolean IsWorkflow)
IsWorkflow - Whether it is a workflow currently.public String getWorkflowName()
public void setWorkflowName(String WorkflowName)
WorkflowName - If it is a workflow, workflow name.public AgentProcedure[] getProcedures()
public void setProcedures(AgentProcedure[] Procedures)
Procedures - Detailed thinking process.public String getTraceId()
public void setTraceId(String TraceId)
TraceId - TraceId.public FileInfo[] getFiles()
public void setFiles(FileInfo[] Files)
Files - File informationCopyright © 2025. All rights reserved.