7#include <aws/qconnect/QConnect_EXPORTS.h>
47 inline void SetMaxTokens(
int value) { m_maxTokensHasBeenSet =
true; m_maxTokens = value; }
57 inline void SetBufferSize(
int value) { m_bufferSizeHasBeenSet =
true; m_bufferSize = value; }
73 bool m_maxTokensHasBeenSet =
false;
76 bool m_bufferSizeHasBeenSet =
false;
78 int m_breakpointPercentileThreshold{0};
79 bool m_breakpointPercentileThresholdHasBeenSet =
false;
SemanticChunkingConfiguration & WithMaxTokens(int value)
bool BreakpointPercentileThresholdHasBeenSet() const
bool BufferSizeHasBeenSet() const
AWS_QCONNECT_API SemanticChunkingConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetBreakpointPercentileThreshold(int value)
AWS_QCONNECT_API SemanticChunkingConfiguration()=default
SemanticChunkingConfiguration & WithBufferSize(int value)
void SetBufferSize(int value)
int GetBreakpointPercentileThreshold() const
void SetMaxTokens(int value)
int GetBufferSize() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SemanticChunkingConfiguration & WithBreakpointPercentileThreshold(int value)
AWS_QCONNECT_API SemanticChunkingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MaxTokensHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue