Table of Contents

TTMSFNCCloudAI.RunThread Method

Starts an assistant run for the specified thread and assistant.

API unit family: TMSFNCCloudAI Declaring type: TTMSFNCCloudAI

Syntax

procedure RunThread(const AThreadID, AAssistantID: string; const ARun: TTMSFNCCloudAICreatedEvent = nil);

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.