View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore (google_api_ai_platform v0.25.0)

The data source for Vertex RagStore.

Attributes

  • ragResources (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource.t), default: nil) - Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
  • vectorDistanceThreshold (type: float(), default: nil) - Optional. Only return contexts with vector distance smaller than the threshold.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore{
    ragResources:
      [
        GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource.t()
      ]
      | nil,
    vectorDistanceThreshold: float() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.