HomeControllerSAISaveAgentChat Method |
Saves the current agent conversation (taken from the server session) to a
file in _Agents/{GUID}/Recents. Old entries beyond maxRecents
are pruned (oldest-first).
Namespace: SealWebServer.ControllersAssembly: SealWebServer (in SealWebServer.exe) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntaxpublic ActionResult SAISaveAgentChat(
string name,
string infosJson,
string sessionId,
int maxRecents = 20,
bool generateName = false
)
Parameters
- name String
- Human-readable chat name used as the file name.
- infosJson String
- JSON-serialised array of StringPair objects (Type, Name, Description, Instance …).
- sessionId String
-
- maxRecents Int32 (Optional)
-
- generateName Boolean (Optional)
-
Return Value
ActionResult
See Also