7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
45 m_maxTokensHasBeenSet =
true;
64 m_temperatureHasBeenSet =
true;
65 m_temperature = value;
80 inline double GetTopP()
const {
return m_topP; }
83 m_topPHasBeenSet =
true;
99 template <
typename StopSequencesT = Aws::Vector<Aws::String>>
101 m_stopSequencesHasBeenSet =
true;
102 m_stopSequences = std::forward<StopSequencesT>(value);
104 template <
typename StopSequencesT = Aws::Vector<Aws::String>>
109 template <
typename StopSequencesT = Aws::String>
111 m_stopSequencesHasBeenSet =
true;
112 m_stopSequences.emplace_back(std::forward<StopSequencesT>(value));
119 double m_temperature{0.0};
124 bool m_maxTokensHasBeenSet =
false;
125 bool m_temperatureHasBeenSet =
false;
126 bool m_topPHasBeenSet =
false;
127 bool m_stopSequencesHasBeenSet =
false;
void SetTopP(double value)
bool MaxTokensHasBeenSet() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API InferenceConfiguration()=default
bool TopPHasBeenSet() const
const Aws::Vector< Aws::String > & GetStopSequences() const
InferenceConfiguration & WithTopP(double value)
AWS_BEDROCK_API InferenceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API InferenceConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool StopSequencesHasBeenSet() const
void SetStopSequences(StopSequencesT &&value)
bool TemperatureHasBeenSet() const
InferenceConfiguration & WithMaxTokens(int value)
double GetTemperature() const
InferenceConfiguration & WithStopSequences(StopSequencesT &&value)
void SetMaxTokens(int value)
InferenceConfiguration & WithTemperature(double value)
InferenceConfiguration & AddStopSequences(StopSequencesT &&value)
void SetTemperature(double value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue