Table of Contents

TTMSFNCCloudAI.CreateAssistant Method

Creates an assistant with instructions and tool capabilities.

API unit family: TMSFNCCloudAI Declaring type: TTMSFNCCloudAI

Syntax

procedure CreateAssistant(AName, AInstruction: string; ATool: TTMSFNCCloudAIAssistantTools = [aitFileSearch]; const ACreated: TTMSFNCCloudAICreatedEvent = nil);

Parameters

Name Description
AName Assistant display name.
AInstruction Instructions assigned to the assistant.
ATool Assistant tool capabilities to enable.
ACreated Optional callback invoked with the created assistant identifier.