combine_sentences#
- langchain_experimental.text_splitter.combine_sentences(sentences: List[dict], buffer_size: int = 1) List[dict] [source]#
Combine sentences based on buffer size.
- Parameters:
sentences (List[dict]) – List of sentences to combine.
buffer_size (int) – Number of sentences to combine. Defaults to 1.
- Returns:
List of sentences with combined sentences.
- Return type:
List[dict]