diff --git a/llama-index-core/llama_index/core/node_parser/text/semantic_splitter.py b/llama-index-core/llama_index/core/node_parser/text/semantic_splitter.py index 6e4760a7b5e85d21d893a435d6d7d4ddba622e49..386b59e4b145ae4afd66073a092f6bc10248ae53 100644 --- a/llama-index-core/llama_index/core/node_parser/text/semantic_splitter.py +++ b/llama-index-core/llama_index/core/node_parser/text/semantic_splitter.py @@ -56,7 +56,7 @@ class SemanticSplitterNodeParser(NodeParser): ), ) - breakpoint_percentile_threshold = Field( + breakpoint_percentile_threshold: int = Field( default=95, description=( "The percentile of cosine dissimilarity that must be exceeded between a "