API Reference ex_llm v#0.1.0

View Source

Modules

ExLLM - Unified Elixir client library for Large Language Models.

Behaviour for LLM backend adapters.

Anthropic Claude API adapter for ExLLM.

Local LLM adapter using Bumblebee for on-device inference.

Behaviour for configuration providers.

Environment-based configuration provider.

Static configuration provider for testing and library usage.

Context management for LLM conversations.

Cost calculation functionality for ExLLM.

Standardized error types and utilities for ExLLM.

Structured output support for ExLLM using instructor_ex.

Configuration module for EXLA/EMLX backend optimization.

Handles loading and caching of Bumblebee models for local inference.

Token counting utilities for local models.

Session management for ExLLM - handles conversation sessions with LLM providers.

Type definitions for ExLLM.Session.

Represents a conversation session with message history and metadata.

Shared type definitions used across ExLLM modules.

Standard response format from LLM adapters with integrated cost calculation.

Represents an available LLM model.

Represents a chunk from a streaming LLM response.