semantic_router.splitters.utils#

Functions

split_to_sentences(text)

Enhanced regex pattern to split a given text into sentences more accurately.

tiktoken_length(text)

rtype:

int