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.2.0.0+da7797057e6d5ef3b02633ee3e36991921c726cb
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