Class EndpointsResource.ChatResource
The "chat" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class 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 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 |
|---|---|
| EndpointsResource.ChatResource.CompletionsRequest |