IModelRecommendationGetModels Method

GetModels retrieves assistant and model info.

Definition

Namespace: SuperBuilderWinService.Providers
Assembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+2093811f3bac5da092b5ce9c8172233582eee4d5
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