7#include <aws/qconnect/QConnect_EXPORTS.h>
57 inline void SetBufferSize(
int value) { m_bufferSizeHasBeenSet =
true; m_bufferSize = value; }
67 inline void SetMaxTokens(
int value) { m_maxTokensHasBeenSet =
true; m_maxTokens = value; }
72 int m_breakpointPercentileThreshold;
73 bool m_breakpointPercentileThresholdHasBeenSet =
false;
76 bool m_bufferSizeHasBeenSet =
false;
79 bool m_maxTokensHasBeenSet =
false;
SemanticChunkingConfiguration & WithMaxTokens(int value)
bool BreakpointPercentileThresholdHasBeenSet() const
bool BufferSizeHasBeenSet() const
AWS_QCONNECT_API SemanticChunkingConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetBreakpointPercentileThreshold(int value)
SemanticChunkingConfiguration & WithBufferSize(int value)
void SetBufferSize(int value)
AWS_QCONNECT_API SemanticChunkingConfiguration()
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
Aws::Utils::Json::JsonValue JsonValue