Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Claim (v0.59.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Claim.

Claim that is extracted from the input text and facts that support it.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#end_index

def end_index() -> ::Integer
Returns
  • (::Integer) — Index in the input text where the claim ends (exclusive).

#end_index=

def end_index=(value) -> ::Integer
Parameter
  • value (::Integer) — Index in the input text where the claim ends (exclusive).
Returns
  • (::Integer) — Index in the input text where the claim ends (exclusive).

#fact_indexes

def fact_indexes() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — Indexes of the facts supporting this claim.

#fact_indexes=

def fact_indexes=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — Indexes of the facts supporting this claim.
Returns
  • (::Array<::Integer>) — Indexes of the facts supporting this claim.

#score

def score() -> ::Float
Returns
  • (::Float) — Confidence score of this corroboration.

#score=

def score=(value) -> ::Float
Parameter
  • value (::Float) — Confidence score of this corroboration.
Returns
  • (::Float) — Confidence score of this corroboration.

#start_index

def start_index() -> ::Integer
Returns
  • (::Integer) — Index in the input text where the claim starts (inclusive).

#start_index=

def start_index=(value) -> ::Integer
Parameter
  • value (::Integer) — Index in the input text where the claim starts (inclusive).
Returns
  • (::Integer) — Index in the input text where the claim starts (inclusive).