Skip to main content

tiktoken_split

Function tiktoken_split 

Source
pub fn tiktoken_split(pattern: &str, text: &str) -> Result<Vec<String>, String>
Expand description

The pieces tiktoken’s pattern pattern finds in text, in order.