Skip to main content

render_prompt

Function render_prompt 

Source
pub fn render_prompt(span_text: &str) -> String
Expand description

Render the fixed prompt for summarizing one cleared span’s rendered text (see render_span_text). Exposed so a real SpanSummarizer implementation (elsewhere — never in this crate’s test-only code) sends exactly the wording PROMPT_VERSION names.