Skip to main content
Table of Contents

TTMSFNCCloudAI.GetServices Method

Returns services that match the requested capability filters.

API unit family: TMSFNCCloudAI Declaring type: TTMSFNCCloudAI

Syntax

FMX.TMSFNCCloudAI.hppPascalC++
function GetServices(UseFunctionCalling: boolean = false; UseFiles: boolean = false; HasAPIKey: boolean = false): TStringList;
System::Classes::TStringList* __fastcall GetServices(bool UseFunctionCalling = false, bool UseFiles = false, bool HasAPIKey = false);

Parameters

Name Description
UseFunctionCalling When True, returns only services that support function calling.
UseFiles When True, returns only services that support file input.
HasAPIKey When True, returns only services with an available API key or local endpoint.

Returns

A string list containing matching service names.