request(schema:modelVersion:)
Creates an insight request for the given insight type.
Declaration
static func request(schema: Self.SchemaVersion, modelVersion: InsightEvaluator.ModelVersion = .current) -> InsightEvaluator.InsightRequest<Self>Parameters
- schema:
The required Schemaversion.
- modelVersion:
The required Modelversion.
Return Value
An InsightEvaluator.InsightRequest to incorporate into an InsightEvaluator.InsightContext that you can use to make an evaluation request.