alith-client 0.4.3

The Easiest Rust Interface for Local LLMs, and an Interface for Deterministic Signals from Probabilistic LLM Vibes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use alith_interface::requests::completion::CompletionRequest;

pub mod urls;

pub struct Extract {
    pub base_req: CompletionRequest,
}

impl Extract {
    pub fn new(base_req: CompletionRequest) -> Self {
        Self { base_req }
    }

    pub fn urls(self) -> urls::ExtractUrls {
        urls::ExtractUrls::new(self.base_req)
    }
}