7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetMaximumLength(
int value) { m_maximumLengthHasBeenSet =
true; m_maximumLength = value; }
80 inline void SetTemperature(
double value) { m_temperatureHasBeenSet =
true; m_temperature = value; }
93 inline int GetTopK()
const{
return m_topK; }
95 inline void SetTopK(
int value) { m_topKHasBeenSet =
true; m_topK = value; }
108 inline double GetTopP()
const{
return m_topP; }
110 inline void SetTopP(
double value) { m_topPHasBeenSet =
true; m_topP = value; }
116 bool m_maximumLengthHasBeenSet =
false;
119 bool m_stopSequencesHasBeenSet =
false;
121 double m_temperature;
122 bool m_temperatureHasBeenSet =
false;
125 bool m_topKHasBeenSet =
false;
128 bool m_topPHasBeenSet =
false;
AWS_BEDROCKAGENT_API InferenceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceConfiguration & WithStopSequences(const Aws::Vector< Aws::String > &value)
InferenceConfiguration & WithStopSequences(Aws::Vector< Aws::String > &&value)
void SetMaximumLength(int value)
void SetStopSequences(Aws::Vector< Aws::String > &&value)
InferenceConfiguration & AddStopSequences(const Aws::String &value)
void SetTopP(double value)
bool StopSequencesHasBeenSet() const
InferenceConfiguration & WithTemperature(double value)
InferenceConfiguration & AddStopSequences(Aws::String &&value)
bool TopPHasBeenSet() const
void SetTemperature(double value)
int GetMaximumLength() const
InferenceConfiguration & WithMaximumLength(int value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetStopSequences() const
bool TopKHasBeenSet() const
AWS_BEDROCKAGENT_API InferenceConfiguration()
bool TemperatureHasBeenSet() const
InferenceConfiguration & WithTopK(int value)
void SetStopSequences(const Aws::Vector< Aws::String > &value)
double GetTemperature() const
InferenceConfiguration & AddStopSequences(const char *value)
AWS_BEDROCKAGENT_API InferenceConfiguration(Aws::Utils::Json::JsonView jsonValue)
InferenceConfiguration & WithTopP(double value)
bool MaximumLengthHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue