AiViewControllerGetModels - метод

Get available models.

Definition

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

Параметры

type  AiModelType
The type of AI model.
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.

См. также