7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace BedrockAgent {
46 m_temperatureHasBeenSet =
true;
47 m_temperature = value;
60 inline double GetTopP()
const {
return m_topP; }
63 m_topPHasBeenSet =
true;
79 m_maxTokensHasBeenSet =
true;
95 template <
typename StopSequencesT = Aws::Vector<Aws::String>>
97 m_stopSequencesHasBeenSet =
true;
98 m_stopSequences = std::forward<StopSequencesT>(value);
100 template <
typename StopSequencesT = Aws::Vector<Aws::String>>
105 template <
typename StopSequencesT = Aws::String>
107 m_stopSequencesHasBeenSet =
true;
108 m_stopSequences.emplace_back(std::forward<StopSequencesT>(value));
113 double m_temperature{0.0};
120 bool m_temperatureHasBeenSet =
false;
121 bool m_topPHasBeenSet =
false;
122 bool m_maxTokensHasBeenSet =
false;
123 bool m_stopSequencesHasBeenSet =
false;
void SetTopP(double value)
AWS_BEDROCKAGENT_API PromptModelInferenceConfiguration()=default
PromptModelInferenceConfiguration & WithStopSequences(StopSequencesT &&value)
PromptModelInferenceConfiguration & WithTemperature(double value)
void SetStopSequences(StopSequencesT &&value)
bool TemperatureHasBeenSet() const
PromptModelInferenceConfiguration & AddStopSequences(StopSequencesT &&value)
bool MaxTokensHasBeenSet() const
double GetTemperature() const
AWS_BEDROCKAGENT_API PromptModelInferenceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemperature(double value)
PromptModelInferenceConfiguration & WithTopP(double value)
void SetMaxTokens(int value)
bool StopSequencesHasBeenSet() const
const Aws::Vector< Aws::String > & GetStopSequences() const
PromptModelInferenceConfiguration & WithMaxTokens(int value)
AWS_BEDROCKAGENT_API PromptModelInferenceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TopPHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue