Method FromJson
- Namespace
- LMKit.Agents.Evaluation
- Assembly
- LM-Kit.NET.dll
FromJson(string)
Reads a suite from its JSON form.
public static AgentEvaluationSuite FromJson(string json)
Parameters
jsonstringThe JSON text.
Returns
- AgentEvaluationSuite
The suite.
Exceptions
- ArgumentException
Thrown when
jsonis null or empty.- FormatException
Thrown when the text is not a suite.