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
56 inline void SetMaxTokens(
int value) { m_maxTokensHasBeenSet =
true; m_maxTokens = value; }
89 inline void SetTemperature(
double value) { m_temperatureHasBeenSet =
true; m_temperature = value; }
99 inline double GetTopP()
const{
return m_topP; }
101 inline void SetTopP(
double value) { m_topPHasBeenSet =
true; m_topP = value; }
107 bool m_maxTokensHasBeenSet =
false;
110 bool m_stopSequencesHasBeenSet =
false;
112 double m_temperature;
113 bool m_temperatureHasBeenSet =
false;
116 bool m_topPHasBeenSet =
false;
void SetStopSequences(const Aws::Vector< Aws::String > &value)
void SetStopSequences(Aws::Vector< Aws::String > &&value)
void SetMaxTokens(int value)
TextInferenceConfig & AddStopSequences(const char *value)
TextInferenceConfig & WithTopP(double value)
TextInferenceConfig & WithStopSequences(Aws::Vector< Aws::String > &&value)
bool MaxTokensHasBeenSet() const
TextInferenceConfig & AddStopSequences(const Aws::String &value)
void SetTopP(double value)
bool StopSequencesHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API TextInferenceConfig()
void SetTemperature(double value)
TextInferenceConfig & WithMaxTokens(int value)
AWS_BEDROCKAGENTRUNTIME_API TextInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
double GetTemperature() const
bool TemperatureHasBeenSet() const
bool TopPHasBeenSet() const
TextInferenceConfig & WithStopSequences(const Aws::Vector< Aws::String > &value)
TextInferenceConfig & WithTemperature(double value)
TextInferenceConfig & AddStopSequences(Aws::String &&value)
const Aws::Vector< Aws::String > & GetStopSequences() const
AWS_BEDROCKAGENTRUNTIME_API TextInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue