Function call_llm

Source
pub async fn call_llm(
    provider: &str,
    prompt: &str,
    model: &str,
    max_token: u32,
) -> Result<String, Box<dyn Error>>