Registry / other / llm-base

llm-base

JSON →
library0.1.1rscratesunverified

Provides common structure for model implementations in the llm crate.

# Cargo.toml [dependencies] llm-base = "0.1.1"
INSTALL
IMPORT
SIG · LLM-BASE
L
llm-base
otherrustv0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Model
use llm_base::Model;

Use the Model trait for implementing language models.

use llm_base::Model; fn main() { // Model is a trait; implement it for custom models. println!("llm-base provides model infrastructure."); }
Debug
Known issues
gotchaNot intended for end-users; use the `llm` crate instead.
fix
Use `llm` crate for high-level API.
affects: >=0.0.0
Upgrade
Version history
0.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
llm-base — cargo add llm-base · libregistry