SemanticTextSplitter
Adding a class class for splitting text into semantically coherent sections using a language model.
This class leverages the Hugging Face Inference API to generate splits in the input text, and then processes the result to return a list of split text sections. It is designed to work with various language models available through the Hugging Face platform.