AIAgentLoadFromFile Method |
Loads a conversation from a JSON file and returns both the agent
and the embedded session metadata.
The agent is built from the configuration whose Name matches the
Name info key; falls back to the default configuration when not found.
Namespace: Seal.AIAssembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntaxpublic static (AIAgent agent, ChatSessionFile session) LoadFromFile(
string path
)
Parameters
- path String
- Full file-system path to the file.
Return Value
ValueTupleAIAgent,
ChatSessionFileA tuple of the restored agent and the raw session file.
See Also