Skip to main content

tool_rules

Function tool_rules 

Source
pub fn tool_rules(intro: &str, tools: &[Tool]) -> String
Expand description

Instructions that make a model answer with one tool. Pass them as the system text of LocalAssistant::write, with the person’s words as the question.