- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public interface CheckGroundingResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCitedChunks(int index)
public abstract FactChunk getCitedChunks(int index)
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1alpha.FactChunk cited_chunks = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FactChunk |
getCitedChunksCount()
public abstract int getCitedChunksCount()
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1alpha.FactChunk cited_chunks = 3;
Returns | |
---|---|
Type | Description |
int |
getCitedChunksList()
public abstract List<FactChunk> getCitedChunksList()
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1alpha.FactChunk cited_chunks = 3;
Returns | |
---|---|
Type | Description |
List<FactChunk> |
getCitedChunksOrBuilder(int index)
public abstract FactChunkOrBuilder getCitedChunksOrBuilder(int index)
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1alpha.FactChunk cited_chunks = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FactChunkOrBuilder |
getCitedChunksOrBuilderList()
public abstract List<? extends FactChunkOrBuilder> getCitedChunksOrBuilderList()
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1alpha.FactChunk cited_chunks = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.FactChunkOrBuilder> |
getClaims(int index)
public abstract CheckGroundingResponse.Claim getClaims(int index)
Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1alpha.CheckGroundingResponse.Claim claims = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CheckGroundingResponse.Claim |
getClaimsCount()
public abstract int getClaimsCount()
Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1alpha.CheckGroundingResponse.Claim claims = 4;
Returns | |
---|---|
Type | Description |
int |
getClaimsList()
public abstract List<CheckGroundingResponse.Claim> getClaimsList()
Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1alpha.CheckGroundingResponse.Claim claims = 4;
Returns | |
---|---|
Type | Description |
List<Claim> |
getClaimsOrBuilder(int index)
public abstract CheckGroundingResponse.ClaimOrBuilder getClaimsOrBuilder(int index)
Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1alpha.CheckGroundingResponse.Claim claims = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CheckGroundingResponse.ClaimOrBuilder |
getClaimsOrBuilderList()
public abstract List<? extends CheckGroundingResponse.ClaimOrBuilder> getClaimsOrBuilderList()
Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1alpha.CheckGroundingResponse.Claim claims = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.CheckGroundingResponse.ClaimOrBuilder> |
getSupportScore()
public abstract float getSupportScore()
The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.
optional float support_score = 1;
Returns | |
---|---|
Type | Description |
float |
The supportScore. |
hasSupportScore()
public abstract boolean hasSupportScore()
The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.
optional float support_score = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the supportScore field is set. |