Syntax Elements | AI_AskLLM | Text AI Analytic Functions - Syntax Elements for AI_AskLLM - Teradata Analytics

Teradata® Text Analytics AI Functions

Product
Teradata Analytics
Release Number
20.00
Published
July 2026
ft:locale
en-US
ft:lastEdition
2026-07-10
dita:mapPath
foa1783708212383.ditamap
dita:ditavalPath
jlp1749501702948.ditaval
dita:id
foa1783708212383
Name Required or Optional Description Type Default Value Permitted Values
ON clause Required
  • Specifies question as an InputTable.
  • Specifies context_data as a ContextTable.
N/A N/A N/A
TextColumn Required Specifies the name of the column of text to be used as input. string N/A N/A
ContextColumn Required Specifies the name of the data column. string N/A N/A
Prompt Required Specifies the custom prompt. string N/A N/A
QUESTIONPOSITION Required Specifies the position of the question in the custom prompt. string N/A N/A
isDebug Optional Specifies whether error logging is required. boolean False True,False
Accumulate Optional Specifies the names of the input columns to copy to the output table. string N/A N/A
ShowNumTokens Optional Specifies whether to display token information in the query output.

Note: If set to True, it includes input and output token counts in the result.

boolean no true, false, yes, no, 0, 1, t, f
RefreshCredentialTimeSeconds Optional Specifies how often to refresh credentials for AWS, Azure, and GCP. This applies when AWS, Azure, and GCP VMs connect to AWS Bedrock, Azure ML, and GCP Gemini models without needing external credentials. Integer 0 Valid double value and non-zero value to trigger refresh.