|
394 | 394 | "type":"string",
|
395 | 395 | "max":2048,
|
396 | 396 | "min":1,
|
397 |
| - "pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))))|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$" |
| 397 | + "pattern":"^(arn:aws(-[^:]{1,10})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]{1,20}/)?)?([a-z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$" |
398 | 398 | },
|
399 | 399 | "Boolean":{
|
400 | 400 | "type":"boolean",
|
|
2144 | 2144 | },
|
2145 | 2145 | "OrchestrationConfiguration":{
|
2146 | 2146 | "type":"structure",
|
2147 |
| - "required":["queryTransformationConfiguration"], |
2148 | 2147 | "members":{
|
| 2148 | + "additionalModelRequestFields":{ |
| 2149 | + "shape":"AdditionalModelRequestFields", |
| 2150 | + "documentation":"<p> Additional model parameters and corresponding values not included in the textInferenceConfig structure for a knowledge base. This allows users to provide custom model parameters specific to the language model being used. </p>" |
| 2151 | + }, |
| 2152 | + "inferenceConfig":{ |
| 2153 | + "shape":"InferenceConfig", |
| 2154 | + "documentation":"<p> Configuration settings for inference when using RetrieveAndGenerate to generate responses while using a knowledge base as a source. </p>" |
| 2155 | + }, |
| 2156 | + "promptTemplate":{ |
| 2157 | + "shape":"PromptTemplate", |
| 2158 | + "documentation":"<p>Contains the template for the prompt that's sent to the model for response generation.</p>" |
| 2159 | + }, |
2149 | 2160 | "queryTransformationConfiguration":{
|
2150 | 2161 | "shape":"QueryTransformationConfiguration",
|
2151 | 2162 | "documentation":"<p>To split up the prompt and retrieve multiple sources, set the transformation type to <code>QUERY_DECOMPOSITION</code>.</p>"
|
|
2158 | 2169 | "members":{
|
2159 | 2170 | "metadata":{
|
2160 | 2171 | "shape":"Metadata",
|
2161 |
| - "documentation":"<p>Contains information about the foundation model output.</p>" |
| 2172 | + "documentation":"<p>Contains information about the foundation model output from the orchestration step.</p>" |
2162 | 2173 | },
|
2163 | 2174 | "rawResponse":{
|
2164 | 2175 | "shape":"RawResponse",
|
|
2280 | 2291 | "PostProcessingModelInvocationOutput":{
|
2281 | 2292 | "type":"structure",
|
2282 | 2293 | "members":{
|
2283 |
| - "metadata":{"shape":"Metadata"}, |
| 2294 | + "metadata":{ |
| 2295 | + "shape":"Metadata", |
| 2296 | + "documentation":"<p> Contains information about the foundation model output from the post-processing step. </p>" |
| 2297 | + }, |
2284 | 2298 | "parsedResponse":{
|
2285 | 2299 | "shape":"PostProcessingParsedResponse",
|
2286 | 2300 | "documentation":"<p>Details about the response from the Lambda parsing of the output of the post-processing step.</p>"
|
2287 | 2301 | },
|
2288 |
| - "rawResponse":{"shape":"RawResponse"}, |
| 2302 | + "rawResponse":{ |
| 2303 | + "shape":"RawResponse", |
| 2304 | + "documentation":"<p> Details of the raw response from the foundation model output. </p>" |
| 2305 | + }, |
2289 | 2306 | "traceId":{
|
2290 | 2307 | "shape":"TraceId",
|
2291 | 2308 | "documentation":"<p>The unique identifier of the trace.</p>"
|
|
2324 | 2341 | "PreProcessingModelInvocationOutput":{
|
2325 | 2342 | "type":"structure",
|
2326 | 2343 | "members":{
|
2327 |
| - "metadata":{"shape":"Metadata"}, |
| 2344 | + "metadata":{ |
| 2345 | + "shape":"Metadata", |
| 2346 | + "documentation":"<p> Contains information about the foundation model output from the pre-processing step. </p>" |
| 2347 | + }, |
2328 | 2348 | "parsedResponse":{
|
2329 | 2349 | "shape":"PreProcessingParsedResponse",
|
2330 | 2350 | "documentation":"<p>Details about the response from the Lambda parsing of the output of the pre-processing step.</p>"
|
2331 | 2351 | },
|
2332 |
| - "rawResponse":{"shape":"RawResponse"}, |
| 2352 | + "rawResponse":{ |
| 2353 | + "shape":"RawResponse", |
| 2354 | + "documentation":"<p> Details of the raw response from the foundation model output. </p>" |
| 2355 | + }, |
2333 | 2356 | "traceId":{
|
2334 | 2357 | "shape":"TraceId",
|
2335 | 2358 | "documentation":"<p>The unique identifier of the trace.</p>"
|
|
0 commit comments