yammer 0.16.0

yammer provides an ollama-compatible client library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use arrrg::CommandLine;

use yammer::OneshotOptions;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    minimal_signals::install();
    minimal_signals::block();
    let (options, models) =
        OneshotOptions::from_command_line_relaxed("USAGE: oneshot [OPTIONS] [MODEL]");
    tokio::runtime::Builder::new_multi_thread()
        .enable_all()
        .build()
        .unwrap()
        .block_on(yammer::oneshot(options, &models))?;
    Ok(())
}