kalosm 0.4.0

A simple interface for pretrained AI models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use kalosm::language::*;

#[tokio::main]
async fn main() {
    tracing_subscriber::fmt::init();
    let prompt = "The following is a 300 word essay about why the capital of France is Paris:";
    let llm = Llama::new().await.unwrap();

    print!("{}", prompt);

    llm(prompt).to_std_out().await.unwrap();
}