Skip to content

Commit 0eca117

Browse files
author
AWS
committed
Agents for Amazon Bedrock Runtime Update: This change is to deprecate the existing citation field under RetrieveAndGenerateStream API response in lieu of GeneratedResponsePart and RetrievedReferences
1 parent d9fc089 commit 0eca117

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Agents for Amazon Bedrock Runtime",
4+
"contributor": "",
5+
"description": "This change is to deprecate the existing citation field under RetrieveAndGenerateStream API response in lieu of GeneratedResponsePart and RetrievedReferences"
6+
}

services/bedrockagentruntime/src/main/resources/codegen-resources/service-2.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,17 @@
840840
"members":{
841841
"citation":{
842842
"shape":"Citation",
843-
"documentation":"<p>The citation.</p>"
843+
"documentation":"<p>The citation.</p>",
844+
"deprecated":true,
845+
"deprecatedMessage":"Citation is deprecated. Please use GeneratedResponsePart and RetrievedReferences for citation event."
846+
},
847+
"generatedResponsePart":{
848+
"shape":"GeneratedResponsePart",
849+
"documentation":"<p>The generated response to the citation event.</p>"
850+
},
851+
"retrievedReferences":{
852+
"shape":"RetrievedReferences",
853+
"documentation":"<p>The retrieved references of the citation event.</p>"
844854
}
845855
},
846856
"documentation":"<p>A citation event.</p>",

0 commit comments

Comments
 (0)