Intel(R) SuperBuilder

IModelRecommendationGetModels Method

GetModels retrieves assistant and model info.

Definition

Namespace: SuperBuilderWinService.Providers
Assembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+e5af843a4e6a75a047681ce8b5d33ceb3660e546
C#
Task<(string assistant, string modelsJson)> GetModels()

Return Value

TaskValueTupleString, String
Getpackages will return a 2 characer assistant name and also a modelsJson, where modelsJson is a json string that is able to be parsed into a Jarray containing one JObject, where this JObject must have a "short_name" json field containing the best model's short name i.e. new JArray { new JObject { ["short_name"] = shortModelName } }.ToString();

See Also