Search code examples
google-cloud-platformnlpgoogle-cloud-vertex-ai

connect vertex ai endpoint through .Net


Is there any way to connected google cloud platform service vertex ai endpoint through .Net code ? I am new to gcp vertex. any help is really apricated.


Solution

  • You could refer to Google.Cloud.AIPlatform.V1 documentation for reference for dot net. You can start by:

    1. Installing the package from Google AI Platform nuget
    2. If you don't have an endpoint yet you can check out Google.Cloud.AIPlatform.V1.EndpointServiceClient. You can use this class to manage endpoints like create endpoint, delete endpoint, deploy endpoint, etc.
    3. If you have an endpoint and you want to run predictions using it, you can check out Google.Cloud.AIPlatform.V1.PredictionServiceClient. You can use this class to perform prediction using your endpoint.