Skip to content

Commit

Permalink
feat(discoveryengine)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### discoveryengine:v1alpha

The following keys were deleted:
- schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.score.description
- schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.score.format
- schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.score.type

The following keys were changed:
- schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.groundingCheckRequired.description

#### discoveryengine:v1beta

The following keys were deleted:
- schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.score.description
- schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.score.format
- schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.score.type

The following keys were changed:
- schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.groundingCheckRequired.description

#### discoveryengine:v1

The following keys were deleted:
- schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.score.description
- schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.score.format
- schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.score.type

The following keys were changed:
- schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.groundingCheckRequired.description
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 30, 2024
1 parent 0ce260e commit d7d6c3f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 36 deletions.
9 changes: 2 additions & 7 deletions discovery/discoveryengine-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5986,7 +5986,7 @@
}
}
},
"revision": "20240817",
"revision": "20240826",
"rootUrl": "https://discoveryengine.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -7413,14 +7413,9 @@
"type": "integer"
},
"groundingCheckRequired": {
"description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.",
"description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.",
"type": "boolean"
},
"score": {
"description": "Confidence score for the claim in the answer candidate, in the range of [0, 1].",
"format": "double",
"type": "number"
},
"startPos": {
"description": "Position indicating the start of the claim in the answer candidate, measured in bytes.",
"format": "int32",
Expand Down
9 changes: 2 additions & 7 deletions discovery/discoveryengine-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -7517,7 +7517,7 @@
}
}
},
"revision": "20240817",
"revision": "20240826",
"rootUrl": "https://discoveryengine.googleapis.com/",
"schemas": {
"GoogleApiDistribution": {
Expand Down Expand Up @@ -10605,14 +10605,9 @@
"type": "integer"
},
"groundingCheckRequired": {
"description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.",
"description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.",
"type": "boolean"
},
"score": {
"description": "Confidence score for the claim in the answer candidate, in the range of [0, 1].",
"format": "double",
"type": "number"
},
"startPos": {
"description": "Position indicating the start of the claim in the answer candidate, measured in bytes.",
"format": "int32",
Expand Down
9 changes: 2 additions & 7 deletions discovery/discoveryengine-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6786,7 +6786,7 @@
}
}
},
"revision": "20240817",
"revision": "20240826",
"rootUrl": "https://discoveryengine.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -13278,14 +13278,9 @@
"type": "integer"
},
"groundingCheckRequired": {
"description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.",
"description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.",
"type": "boolean"
},
"score": {
"description": "Confidence score for the claim in the answer candidate, in the range of [0, 1].",
"format": "double",
"type": "number"
},
"startPos": {
"description": "Position indicating the start of the claim in the answer candidate, measured in bytes.",
"format": "int32",
Expand Down
6 changes: 1 addition & 5 deletions src/apis/discoveryengine/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5302,13 +5302,9 @@ export namespace discoveryengine_v1 {
*/
endPos?: number | null;
/**
* Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.
* Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.
*/
groundingCheckRequired?: boolean | null;
/**
* Confidence score for the claim in the answer candidate, in the range of [0, 1].
*/
score?: number | null;
/**
* Position indicating the start of the claim in the answer candidate, measured in bytes.
*/
Expand Down
6 changes: 1 addition & 5 deletions src/apis/discoveryengine/v1alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1297,13 +1297,9 @@ export namespace discoveryengine_v1alpha {
*/
endPos?: number | null;
/**
* Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.
* Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.
*/
groundingCheckRequired?: boolean | null;
/**
* Confidence score for the claim in the answer candidate, in the range of [0, 1].
*/
score?: number | null;
/**
* Position indicating the start of the claim in the answer candidate, measured in bytes.
*/
Expand Down
6 changes: 1 addition & 5 deletions src/apis/discoveryengine/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3613,13 +3613,9 @@ export namespace discoveryengine_v1beta {
*/
endPos?: number | null;
/**
* Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.
* Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.
*/
groundingCheckRequired?: boolean | null;
/**
* Confidence score for the claim in the answer candidate, in the range of [0, 1].
*/
score?: number | null;
/**
* Position indicating the start of the claim in the answer candidate, measured in bytes.
*/
Expand Down

0 comments on commit d7d6c3f

Please sign in to comment.