AiViewControllerGetModels - метод

Get available models.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
[HttpGetAttribute("models")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<AiModel>>> GetModels(
	[FromQueryAttribute] string? modelID = null,
	[FromQueryAttribute] string? modelName = null,
	[FromQueryAttribute] bool force = false,
	CancellationToken cancellationToken = default
)

Параметры

modelID  String  (Optional)
The ID of the model to search for a specific model.
modelName  String  (Optional)
The name of the model to filter by name.
force  Boolean  (Optional)
The forced data update flag.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskActionResultListAiModel
List of AI models.

См. также