Cargo Features

[dependencies]
kalosm-language-model = { version = "0.4.0", default-features = false, features = ["openai", "remote", "serde", "cache", "sample"] }
default = cache

The cache feature is set by default whenever kalosm-language-model is added without default-features = false somewhere in the dependency tree.

anthropic openai remote?

Enables reqwest, reqwest-eventsource, and serde_json

remote = anthropic, openai
serde cache

Enables serde

cache default = serde

Enables lru ^0.12.3

sample

Enables anyhow and llm-samplers

kalosm-language-model has 6 features without comments.