Skip to main content

prepare_item_text

Function prepare_item_text 

Source
pub fn prepare_item_text(
    key: &str,
    value: &str,
    category: Option<&str>,
) -> String
Expand description

Prepare text for embedding by concatenating key and value.

Creates a searchable representation of a context item.