llm_client 0.0.7

llm_client: The easiest Rust interface for local LLMs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::*;

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)
    }
}