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.
- Token
Usage - 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
Futuretype used by theAiProvidertrait.