Skip to content

Commit 4cb04b2

Browse files
author
AWS
committed
Agents for Amazon Bedrock Update: Support for custom user agent and max web pages crawled for web connector. Support app only credentials for SharePoint connector. Increase agents memory duration limit to 365 days. Support to specify max number of session summaries to include in agent invocation context.
1 parent 1e4a430 commit 4cb04b2

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
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",
4+
"contributor": "",
5+
"description": "Support for custom user agent and max web pages crawled for web connector. Support app only credentials for SharePoint connector. Increase agents memory duration limit to 365 days. Support to specify max number of session summaries to include in agent invocation context."
6+
}

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

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7213,6 +7213,11 @@
72137213
},
72147214
"documentation":"<p>Details about a malformed input expression in a node.</p>"
72157215
},
7216+
"MaxRecentSessions":{
7217+
"type":"integer",
7218+
"box":true,
7219+
"min":1
7220+
},
72167221
"MaxResults":{
72177222
"type":"integer",
72187223
"box":true,
@@ -7233,6 +7238,10 @@
72337238
"shape":"EnabledMemoryTypes",
72347239
"documentation":"<p>The type of memory that is stored. </p>"
72357240
},
7241+
"sessionSummaryConfiguration":{
7242+
"shape":"SessionSummaryConfiguration",
7243+
"documentation":"<p>Contains the configuration for SESSION_SUMMARY memory type enabled for the agent. </p>"
7244+
},
72367245
"storageDays":{
72377246
"shape":"StorageDays",
72387247
"documentation":"<p>The number of days the agent is configured to retain the conversational context.</p>"
@@ -8297,7 +8306,8 @@
82978306
"PRE_PROCESSING",
82988307
"ORCHESTRATION",
82998308
"POST_PROCESSING",
8300-
"KNOWLEDGE_BASE_RESPONSE_GENERATION"
8309+
"KNOWLEDGE_BASE_RESPONSE_GENERATION",
8310+
"MEMORY_SUMMARIZATION"
83018311
]
83028312
},
83038313
"PromptVariant":{
@@ -9099,6 +9109,16 @@
90999109
},
91009110
"exception":true
91019111
},
9112+
"SessionSummaryConfiguration":{
9113+
"type":"structure",
9114+
"members":{
9115+
"maxRecentSessions":{
9116+
"shape":"MaxRecentSessions",
9117+
"documentation":"<p>Maximum number of recent session summaries to include in the agent's prompt context.</p>"
9118+
}
9119+
},
9120+
"documentation":"<p>Configuration for SESSION_SUMMARY memory type enabled for the agent.</p>"
9121+
},
91029122
"SessionTTL":{
91039123
"type":"integer",
91049124
"box":true,
@@ -9107,7 +9127,10 @@
91079127
},
91089128
"SharePointAuthType":{
91099129
"type":"string",
9110-
"enum":["OAUTH2_CLIENT_CREDENTIALS"]
9130+
"enum":[
9131+
"OAUTH2_CLIENT_CREDENTIALS",
9132+
"OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"
9133+
]
91119134
},
91129135
"SharePointCrawlerConfiguration":{
91139136
"type":"structure",
@@ -9346,7 +9369,7 @@
93469369
"StorageDays":{
93479370
"type":"integer",
93489371
"box":true,
9349-
"max":30,
9372+
"max":365,
93509373
"min":0
93519374
},
93529375
"StorageFlowNodeConfiguration":{
@@ -10506,6 +10529,12 @@
1050610529
},
1050710530
"documentation":"<p>The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.</p>"
1050810531
},
10532+
"UserAgent":{
10533+
"type":"string",
10534+
"max":40,
10535+
"min":15,
10536+
"sensitive":true
10537+
},
1050910538
"ValidateFlowDefinitionRequest":{
1051010539
"type":"structure",
1051110540
"required":["definition"],
@@ -10625,20 +10654,33 @@
1062510654
"scope":{
1062610655
"shape":"WebScopeType",
1062710656
"documentation":"<p>The scope of what is crawled for your URLs.</p> <p>You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL \"https://docs.aws.amazon.com/bedrock/latest/userguide/\" and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain \"aws.amazon.com\" can also include sub domain \"docs.aws.amazon.com\".</p>"
10657+
},
10658+
"userAgent":{
10659+
"shape":"UserAgent",
10660+
"documentation":"<p>A string used for identifying the crawler or a bot when it accesses a web server. By default, this is set to <code>bedrockbot_UUID</code> for your crawler. You can optionally append a custom string to <code>bedrockbot_UUID</code> to allowlist a specific user agent permitted to access your source URLs. </p>"
1062810661
}
1062910662
},
1063010663
"documentation":"<p>The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.</p>"
1063110664
},
1063210665
"WebCrawlerLimits":{
1063310666
"type":"structure",
1063410667
"members":{
10668+
"maxPages":{
10669+
"shape":"WebCrawlerLimitsMaxPagesInteger",
10670+
"documentation":"<p> The max number of web pages crawled from your source URLs, up to 25,000 pages. If the web pages exceed this limit, the data source sync will fail and no web pages will be ingested. </p>"
10671+
},
1063510672
"rateLimit":{
1063610673
"shape":"WebCrawlerLimitsRateLimitInteger",
1063710674
"documentation":"<p>The max rate at which pages are crawled, up to 300 per minute per host.</p>"
1063810675
}
1063910676
},
1064010677
"documentation":"<p>The rate limits for the URLs that you want to crawl. You should be authorized to crawl the URLs.</p>"
1064110678
},
10679+
"WebCrawlerLimitsMaxPagesInteger":{
10680+
"type":"integer",
10681+
"box":true,
10682+
"min":1
10683+
},
1064210684
"WebCrawlerLimitsRateLimitInteger":{
1064310685
"type":"integer",
1064410686
"box":true,

0 commit comments

Comments
 (0)