Skip to main content

chat

Creates, updates, deletes, gets or lists a chat resource.

Overview

Namechat
TypeResource
Idgoogle.aiplatform.chat

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
completionsexecendpointsIdExposes an OpenAI-compatible endpoint for chat completions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointsIdstring

Lifecycle Methods

Exposes an OpenAI-compatible endpoint for chat completions.

EXEC google.aiplatform.chat.completions 
@endpointsId='{{ endpointsId }}' --required
@@json=
'{
"contentType": "{{ contentType }}",
"data": "{{ data }}",
"extensions": "{{ extensions }}"
}';