Table of Contents

TTMSFNCCloudAIResponse Class

Stores response text, service metadata, and token usage for an AI request.

API unit family: TMSFNCCloudAI Inherits from: TPersistent

Syntax

TTMSFNCCloudAIResponse = class(TPersistent)

Properties

Name Description
CompletionTokens Gets the number of completion tokens reported for the response.
Content Gets the response content as a string list.
Id Gets the application-level request identifier associated with the response.
PromptTokens Gets the number of prompt tokens reported for the response.
ServiceId Gets the service-assigned response identifier.
ServiceModel Gets the model name reported by the service for the response.
TotalTokens Gets the total token count reported for the response.