Socket
Socket
Sign inDemoInstall

aws-sdk

Package Overview
Dependencies
36
Maintainers
5
Versions
1902
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1585.0 to 2.1586.0

14

apis/bedrock-agent-runtime-2023-07-26.min.json

@@ -513,2 +513,16 @@ {

"members": {
"generationConfiguration": {
"type": "structure",
"members": {
"promptTemplate": {
"type": "structure",
"members": {
"textPromptTemplate": {
"type": "string",
"sensitive": true
}
}
}
}
},
"knowledgeBaseId": {},

@@ -515,0 +529,0 @@ "modelArn": {},

@@ -1486,2 +1486,25 @@ {

},
"ListCostAllocationTagBackfillHistory": {
"input": {
"type": "structure",
"members": {
"NextToken": {},
"MaxResults": {
"type": "integer"
}
}
},
"output": {
"type": "structure",
"members": {
"BackfillRequests": {
"type": "list",
"member": {
"shape": "S7t"
}
},
"NextToken": {}
}
}
},
"ListCostAllocationTags": {

@@ -1644,2 +1667,21 @@ "input": {

},
"StartCostAllocationTagBackfill": {
"input": {
"type": "structure",
"required": [
"BackfillFrom"
],
"members": {
"BackfillFrom": {}
}
},
"output": {
"type": "structure",
"members": {
"BackfillRequest": {
"shape": "S7t"
}
}
}
},
"StartSavingsPlansPurchaseRecommendationGeneration": {

@@ -2335,4 +2377,14 @@ "input": {

}
},
"S7t": {
"type": "structure",
"members": {
"BackfillFrom": {},
"RequestedAt": {},
"CompletedAt": {},
"BackfillStatus": {},
"LastUpdatedAt": {}
}
}
}
}

@@ -13,2 +13,7 @@ {

},
"ListCostAllocationTagBackfillHistory": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults"
},
"ListCostAllocationTags": {

@@ -15,0 +20,0 @@ "input_token": "NextToken",

35

clients/bedrockagentruntime.d.ts

@@ -32,7 +32,7 @@ import {Request} from '../lib/request';

/**
* Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query. The numberOfResults field is currently unsupported for RetrieveAndGenerate. Don't include it in the vectorSearchConfiguration object.
* Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query.
*/
retrieveAndGenerate(params: BedrockAgentRuntime.Types.RetrieveAndGenerateRequest, callback?: (err: AWSError, data: BedrockAgentRuntime.Types.RetrieveAndGenerateResponse) => void): Request<BedrockAgentRuntime.Types.RetrieveAndGenerateResponse, AWSError>;
/**
* Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query. The numberOfResults field is currently unsupported for RetrieveAndGenerate. Don't include it in the vectorSearchConfiguration object.
* Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query.
*/

@@ -141,2 +141,8 @@ retrieveAndGenerate(callback?: (err: AWSError, data: BedrockAgentRuntime.Types.RetrieveAndGenerateResponse) => void): Request<BedrockAgentRuntime.Types.RetrieveAndGenerateResponse, AWSError>;

}
export interface GenerationConfiguration {
/**
* Contains the template for the prompt that's sent to the model for response generation.
*/
promptTemplate?: PromptTemplate;
}
export interface InferenceConfiguration {

@@ -213,3 +219,3 @@ /**

/**
* Contains parameters that specify various attributes of the session.
* Contains parameters that specify various attributes of the session. For more information, see Control session context.
*/

@@ -260,3 +266,3 @@ sessionState?: SessionState;

/**
* Contains details about how the results from the vector search should be returned.
* Contains details about how the results from the vector search should be returned. For more information, see Query configurations.
*/

@@ -282,2 +288,6 @@ vectorSearchConfiguration: KnowledgeBaseVectorSearchConfiguration;

/**
* Contains configurations for response generation based on the knowwledge base query results.
*/
generationConfiguration?: GenerationConfiguration;
/**
* The unique identifier of the knowledge base that is queried and the foundation model used for generation.

@@ -297,3 +307,3 @@ */

/**
* The number of results to return. The numberOfResults field is currently unsupported for RetrieveAndGenerate. Don't include it in this field if you are sending a RetrieveAndGenerate request.
* The number of source chunks to retrieve.
*/

@@ -470,2 +480,8 @@ numberOfResults?: KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger;

export type PromptSessionAttributesMap = {[key: string]: String};
export interface PromptTemplate {
/**
* The template for the prompt that's sent to the model for response generation. You can include prompt placeholders, which become replaced before the prompt is sent to the model to provide instructions and context to the model. In addition, you can include XML tags to delineate meaningful sections of the prompt template. For more information, see the following resources: Knowledge base prompt templates Use XML tags with Anthropic Claude models
*/
textPromptTemplate?: TextPromptTemplate;
}
export type PromptText = string;

@@ -552,7 +568,7 @@ export type PromptType = "PRE_PROCESSING"|"ORCHESTRATION"|"KNOWLEDGE_BASE_RESPONSE_GENERATION"|"POST_PROCESSING"|string;

/**
* Contains the query made to the knowledge base.
* Contains the query to be made to the knowledge base.
*/
input: RetrieveAndGenerateInput;
/**
* Contains details about the resource being queried and the foundation model used for generation.
* Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
*/

@@ -600,7 +616,7 @@ retrieveAndGenerateConfiguration?: RetrieveAndGenerateConfiguration;

/**
* Contains details about how the results should be returned.
* Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
*/
retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration;
/**
* The query to send the knowledge base.
* Contains the query to send the knowledge base.
*/

@@ -662,2 +678,3 @@ retrievalQuery: KnowledgeBaseQuery;

export type Temperature = number;
export type TextPromptTemplate = string;
export interface TextResponsePart {

@@ -664,0 +681,0 @@ /**

@@ -23,3 +23,3 @@ /**

*/
VERSION: '2.1585.0',
VERSION: '2.1586.0',

@@ -26,0 +26,0 @@ /**

{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
"version": "2.1585.0",
"version": "2.1586.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Amazon Web Services",

@@ -67,3 +67,3 @@ # AWS SDK for JavaScript

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1585.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1586.0.min.js"></script>

@@ -70,0 +70,0 @@ You can also build a custom browser SDK with your specified set of AWS services.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc