View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingRequest (google_api_discovery_engine v0.15.0)
Request message for GroundedGenerationService.CheckGrounding method.
Attributes
-
answerCandidate
(type:String.t
, default:nil
) - Answer candidate to check. Can have a maximum length of 1024 characters. -
facts
(type:list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaGroundingFact.t)
, default:nil
) - List of facts for the grounding check. We support up to 200 facts. -
groundingSpec
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingSpec.t
, default:nil
) - Configuration of the grounding check. -
userLabels
(type:map()
, default:nil
) - The user labels applied to a resource must meet the following requirements: Each resource can have multiple labels, up to a maximum of 64. Each label must be a key-value pair. Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. The key portion of a label must be unique. However, you can use the same key with multiple resources. Keys must start with a lowercase letter or international character. See Google Cloud Document for more details.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingRequest{ answerCandidate: String.t() | nil, facts: [ GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaGroundingFact.t() ] | nil, groundingSpec: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingSpec.t() | nil, userLabels: map() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.