Crate latchlm

Source
Expand description

§LatchLM

LatchLM is a provider-agnostic, modular ecosystem for interacting with AI APIs. This crate serves as the main entrypoint, re-exporting traits and types for building applications and libraries that work with various LLM providers.

Modules§

error
Crate-wide error definitions.

Structs§

AiRequest
A request for an LLM.
AiResponse
Response from an LLM API provider.
ModelId
A unique identifier for an LLM model.

Enums§

Error

Traits§

AiModel
A marker trait representing a specific AI model for a provider.
AiProvider
A trait representing an LLM API provider.

Type Aliases§

BoxFuture
A Future type used by the AiProvider trait.
Result