use kalosm::language::*; #[tokio::main] async fn main() { let model = Llama::builder() .with_source(LlamaSource::tiny_llama_1_1b_chat()) .build() .await .unwrap(); let mut chat = Chat::builder(model) .with_system_prompt("The assistant will act like a pirate") .build(); loop { chat.add_message(prompt_input("\n> ").unwrap()) .to_std_out() .await .unwrap(); } }