7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BedrockAgentRuntime
53 inline void SetMaximumLength(
int value) { m_maximumLengthHasBeenSet =
true; m_maximumLength = value; }
82 inline void SetTemperature(
double value) { m_temperatureHasBeenSet =
true; m_temperature = value; }
95 inline int GetTopK()
const{
return m_topK; }
97 inline void SetTopK(
int value) { m_topKHasBeenSet =
true; m_topK = value; }
110 inline double GetTopP()
const{
return m_topP; }
112 inline void SetTopP(
double value) { m_topPHasBeenSet =
true; m_topP = value; }
118 bool m_maximumLengthHasBeenSet =
false;
121 bool m_stopSequencesHasBeenSet =
false;
123 double m_temperature;
124 bool m_temperatureHasBeenSet =
false;
127 bool m_topKHasBeenSet =
false;
130 bool m_topPHasBeenSet =
false;
bool TopPHasBeenSet() const
InferenceConfiguration & AddStopSequences(Aws::String &&value)
void SetMaximumLength(int value)
InferenceConfiguration & WithTemperature(double value)
bool StopSequencesHasBeenSet() const
bool TopKHasBeenSet() const
int GetMaximumLength() const
void SetStopSequences(const Aws::Vector< Aws::String > &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool MaximumLengthHasBeenSet() const
double GetTemperature() const
InferenceConfiguration & WithStopSequences(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetStopSequences() const
AWS_BEDROCKAGENTRUNTIME_API InferenceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTopP(double value)
InferenceConfiguration & WithStopSequences(const Aws::Vector< Aws::String > &value)
AWS_BEDROCKAGENTRUNTIME_API InferenceConfiguration()
InferenceConfiguration & WithTopK(int value)
InferenceConfiguration & WithMaximumLength(int value)
InferenceConfiguration & AddStopSequences(const char *value)
InferenceConfiguration & AddStopSequences(const Aws::String &value)
void SetTemperature(double value)
void SetStopSequences(Aws::Vector< Aws::String > &&value)
AWS_BEDROCKAGENTRUNTIME_API InferenceConfiguration(Aws::Utils::Json::JsonView jsonValue)
InferenceConfiguration & WithTopP(double value)
bool TemperatureHasBeenSet() 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