API_Request In-database Function Syntax | Google Cloud Vertex AI - API_Request In-database Function Syntax - Teradata Vantage

Teradata Vantageā„¢ - API Integration Guide for Cloud Machine Learning

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Vantage
Release Number
1.4
Published
September 2023
Language
English (United States)
Last Update
2023-09-28
dita:mapPath
mgu1643999543506.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
mgu1643999543506
SELECT * FROM tapidb.API_Request(
    ON { table | view | (query) } AS InputTable
    USING
    AUTHORIZATION('{"key": "gcp vertex access token", 
                    ["region" : "gcp_region", 
                    "project" : "gcp_project_name"]}')
    ENDPOINT('vertex-ai endpoint name' | 'vertex-ai endpoint URL')
    [CONTENT_TYPE({'json' | 'csv' | 'json-with-keys'})]
    [API_TYPE('vertex-ai')]
    [KEY_START_INDEX('0')]
    [CONTENT_FORMAT('string to represent how the row should be formatted')]
) AS alias;