-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for backfill of cost allocation tags, with new StartCost…
…AllocationTagBackfill and ListCostAllocationTagBackfillHistory API. Add new operation delete-kx-cluster-node and add status parameter to list-kx-cluster-node operation. This is a documentation update for Amazon ECS. Documentation updates for Elastic Compute Cloud (EC2). This release adds support to customize prompts sent through the RetrieveAndGenerate API in Agents for Amazon Bedrock.
- Loading branch information
1 parent
832ce62
commit 4e0d5c4
Showing
68 changed files
with
2,877 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.293 | ||
1.11.294 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 88 additions & 0 deletions
88
...k-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GenerationConfiguration.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h> | ||
#include <aws/bedrock-agent-runtime/model/PromptTemplate.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace BedrockAgentRuntime | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>Contains configurations for response generation based on the knowledge base | ||
* query results.</p> <p>This data type is used in the following API | ||
* operations:</p> <ul> <li> <p> <a | ||
* href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate | ||
* request</a> </p> </li> </ul><p><h3>See Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GenerationConfiguration">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class GenerationConfiguration | ||
{ | ||
public: | ||
AWS_BEDROCKAGENTRUNTIME_API GenerationConfiguration(); | ||
AWS_BEDROCKAGENTRUNTIME_API GenerationConfiguration(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API GenerationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
/** | ||
* <p>Contains the template for the prompt that's sent to the model for response | ||
* generation.</p> | ||
*/ | ||
inline const PromptTemplate& GetPromptTemplate() const{ return m_promptTemplate; } | ||
|
||
/** | ||
* <p>Contains the template for the prompt that's sent to the model for response | ||
* generation.</p> | ||
*/ | ||
inline bool PromptTemplateHasBeenSet() const { return m_promptTemplateHasBeenSet; } | ||
|
||
/** | ||
* <p>Contains the template for the prompt that's sent to the model for response | ||
* generation.</p> | ||
*/ | ||
inline void SetPromptTemplate(const PromptTemplate& value) { m_promptTemplateHasBeenSet = true; m_promptTemplate = value; } | ||
|
||
/** | ||
* <p>Contains the template for the prompt that's sent to the model for response | ||
* generation.</p> | ||
*/ | ||
inline void SetPromptTemplate(PromptTemplate&& value) { m_promptTemplateHasBeenSet = true; m_promptTemplate = std::move(value); } | ||
|
||
/** | ||
* <p>Contains the template for the prompt that's sent to the model for response | ||
* generation.</p> | ||
*/ | ||
inline GenerationConfiguration& WithPromptTemplate(const PromptTemplate& value) { SetPromptTemplate(value); return *this;} | ||
|
||
/** | ||
* <p>Contains the template for the prompt that's sent to the model for response | ||
* generation.</p> | ||
*/ | ||
inline GenerationConfiguration& WithPromptTemplate(PromptTemplate&& value) { SetPromptTemplate(std::move(value)); return *this;} | ||
|
||
private: | ||
|
||
PromptTemplate m_promptTemplate; | ||
bool m_promptTemplateHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace BedrockAgentRuntime | ||
} // namespace Aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.