Skip to main content
Table of Contents

TTMSFNCCloudAI.RunThread Method

Starts an assistant run for the specified thread and assistant.

API unit family: TMSFNCCloudAI Declaring type: TTMSFNCCloudAI

Syntax

FMX.TMSFNCCloudAI.hppPascalC++
procedure RunThread(const AThreadID, AAssistantID: string; const ARun: TTMSFNCCloudAICreatedEvent = nil);
void __fastcall RunThread(const System::UnicodeString AThreadID, const System::UnicodeString AAssistantID, const _di_TTMSFNCCloudAICreatedEvent ARun = _di_TTMSFNCCloudAICreatedEvent());

Parameters

Name Description
AThreadID Identifier of the thread to run.
AAssistantID Identifier of the assistant that handles the thread.
ARun Optional callback invoked with the created run identifier.