chat
Creates, updates, deletes, gets or lists a chat
resource.
Overview
Name | chat |
Type | Resource |
Id | google.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
completions | exec | endpointsId | Exposes 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.
Name | Datatype | Description |
---|---|---|
endpointsId | string |
Lifecycle Methods
- completions
Exposes an OpenAI-compatible endpoint for chat completions.
EXEC google.aiplatform.chat.completions
@endpointsId='{{ endpointsId }}' --required
@@json=
'{
"contentType": "{{ contentType }}",
"data": "{{ data }}",
"extensions": "{{ extensions }}"
}';