Class ProjectsResource.LocationsResource.EndpointsResource.ChatResource
The "chat" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EndpointsResource.ChatResource
Constructors
ChatResource(IClientService)
Constructs a new resource.
Declaration
public ChatResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Completions(GoogleApiHttpBody, string)
Exposes an OpenAI-compatible endpoint for chat completions.
Declaration
public virtual ProjectsResource.LocationsResource.EndpointsResource.ChatResource.CompletionsRequest Completions(GoogleApiHttpBody body, string endpoint)
Parameters
Type | Name | Description |
---|---|---|
GoogleApiHttpBody | body | The body of the request. |
string | endpoint | Required. The name of the endpoint requested to serve the prediction. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EndpointsResource.ChatResource.CompletionsRequest |