Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.EndpointsResource.ChatResource

The "chat" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.EndpointsResource.ChatResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: projects/{project}/locations/{location}/endpoints/{endpoint}

Returns
Type Description
ProjectsResource.LocationsResource.EndpointsResource.ChatResource.CompletionsRequest
In this article
Back to top Generated by DocFX