Skip to main content

completes

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

Overview

Namecompletes
TypeResource
Idazure.ai_inference.completes

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
completeexecendpointextra-parametersGets chat completions for the provided chat messages. Completions support a wide variety of tasks and generate text that continues from or "completes" provided prompt data. The method makes a REST API call to the /chat/completions route on the given endpoint.

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
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
extra-parametersstringControls what happens if extra parameters, undefined by the REST API, are passed in the JSON request payload. This sets the HTTP request header extra-parameters. Known values are: "error", "drop", and "pass-through". Default value is None.

Lifecycle Methods

Gets chat completions for the provided chat messages. Completions support a wide variety of tasks and generate text that continues from or "completes" provided prompt data. The method makes a REST API call to the /chat/completions route on the given endpoint.

EXEC azure.ai_inference.completes.complete 
@endpoint='{{ endpoint }}' --required,
@extra-parameters='{{ extra-parameters }}'
;