Interface CorroborateContentResponseOrBuilder (3.56.0)

public interface CorroborateContentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClaims(int index)

public abstract Claim getClaims(int index)

Claims that are extracted from the input content and facts that support the claims.

repeated .google.cloud.aiplatform.v1.Claim claims = 2;

Parameter
Name Description
index int
Returns
Type Description
Claim

getClaimsCount()

public abstract int getClaimsCount()

Claims that are extracted from the input content and facts that support the claims.

repeated .google.cloud.aiplatform.v1.Claim claims = 2;

Returns
Type Description
int

getClaimsList()

public abstract List<Claim> getClaimsList()

Claims that are extracted from the input content and facts that support the claims.

repeated .google.cloud.aiplatform.v1.Claim claims = 2;

Returns
Type Description
List<Claim>

getClaimsOrBuilder(int index)

public abstract ClaimOrBuilder getClaimsOrBuilder(int index)

Claims that are extracted from the input content and facts that support the claims.

repeated .google.cloud.aiplatform.v1.Claim claims = 2;

Parameter
Name Description
index int
Returns
Type Description
ClaimOrBuilder

getClaimsOrBuilderList()

public abstract List<? extends ClaimOrBuilder> getClaimsOrBuilderList()

Claims that are extracted from the input content and facts that support the claims.

repeated .google.cloud.aiplatform.v1.Claim claims = 2;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ClaimOrBuilder>

getCorroborationScore()

public abstract float getCorroborationScore()

Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.

optional float corroboration_score = 1;

Returns
Type Description
float

The corroborationScore.

hasCorroborationScore()

public abstract boolean hasCorroborationScore()

Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.

optional float corroboration_score = 1;

Returns
Type Description
boolean

Whether the corroborationScore field is set.