7#include <aws/qconnect/QConnect_EXPORTS.h>
41 m_maxTokensHasBeenSet =
true;
57 m_bufferSizeHasBeenSet =
true;
73 m_breakpointPercentileThresholdHasBeenSet =
true;
74 m_breakpointPercentileThreshold = value;
86 int m_breakpointPercentileThreshold{0};
87 bool m_maxTokensHasBeenSet =
false;
88 bool m_bufferSizeHasBeenSet =
false;
89 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