Skip to main content

format_document

Function format_document 

Source
pub fn format_document(text: &str, title: Option<&str>) -> String
Expand description

Formats a document text with an optional title for embedding.