AiPromptTestEngineControllerRun - метод

Saves the files to the database and starts the testing operation.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
[HttpPostAttribute("run")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ConsumesAttribute("multipart/form-data", new string[] { ... })]
[DisableRequestSizeLimitAttribute]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(400)]
public Task<ActionResult<AiPromptTestOperationStatus>> Run(
	[RequiredAttribute][FromFormAttribute] string requestString,
	[RequiredAttribute] IEnumerable<IFormFile> files,
	CancellationToken cancellationToken = default
)

Параметры

requestString  String
Request information.
files  IEnumerableIFormFile
A list of the content of the test files and files specified inside the tests.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultAiPromptTestOperationStatus
Информация о состоянии запроса тестирования промптов ИИ.

См. также