Vertex AI API (aiplatform:v1beta1)

2024-09-11

2 new methods

Additions

    Methods
  • aiplatform.projects.locations.corroborateContent

      Parameters :

        parent

          Description : Required. The resource name of the Location from which to corroborate text. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`.

          Location : path

          Required : Yes

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+$

      Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}:corroborateContent

      Description : Given an input text, it returns a score that evaluates the factuality of the text. It also extracts and returns claims from the text and provides supporting facts.

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      HTTP Method : POST

      Path : v1beta1/{+parent}:corroborateContent

  • aiplatform.projects.locations.augmentPrompt

      Parameters :

        parent

          Location : path

          Type : string

          Required : Yes

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Description : Required. The resource name of the Location from which to augment prompt. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`.

      Description : Given an input prompt, it returns augmented prompt from vertex rag store to guide LLM towards generating grounded responses.

      HTTP Method : POST

      Path : v1beta1/{+parent}:augmentPrompt

      Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}:augmentPrompt

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameter Order : parent