Crate latchlm_core

Crate latchlm_core 

Source
Expand description

§LatchLM Core

Core traits and types for the LatchLM ecosystem.

This crate provides the foundation for the LatchLM ecosystem by defining the core abstractions used across all provider implementations.

Re-exports§

pub use error::*;

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.
TokenUsage
Token usage information returned by LLM providers.

Traits§

AiModel
A 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.