pub async fn prompt<P: ToString>(model: Model, prompt_str: P) -> String
Sends a single message to a model.
use ic_llm::Model; ic_llm::prompt(Model::Llama3_1_8B, "What's the speed of light?").await