# llm_utils v0.1.3 - Table of Contents

> LLM utility functions for JSON extraction and response parsing

## Modules

- [LLMUtils.CircuitBreaker](LLMUtils.CircuitBreaker.md): In-memory ETS-based 3-state circuit breaker.
- [LLMUtils.Client](LLMUtils.Client.md): Core LLM HTTP client for OpenAI-compatible chat completion APIs.
- [LLMUtils.JsonAdapter](LLMUtils.JsonAdapter.md): Defensive JSON decoder that tries `JsonRemedy.repair/1` first for
malformed LLM output, falling back to `Jason.decode/2`.
- [LLMUtils.JsonExtractor](LLMUtils.JsonExtractor.md): Extracts and parses JSON from LLM responses.

- [LLMUtils.Logging](LLMUtils.Logging.md): Toggleable structured logger for LLM calls.
- [LLMUtils.Metrics](LLMUtils.Metrics.md): In-memory ETS-based metrics collector for LLM calls.
- [LLMUtils.Provider](LLMUtils.Provider.md): Behaviour for LLM provider implementations.
- [LLMUtils.Providers](LLMUtils.Providers.md): Registry of all supported LLM providers.
- [LLMUtils.Providers.Fireworks](LLMUtils.Providers.Fireworks.md): Provider implementation for Fireworks AI API.
- [LLMUtils.Providers.Grok](LLMUtils.Providers.Grok.md): Provider implementation for xAI Grok API.

- [LLMUtils.Providers.Groq](LLMUtils.Providers.Groq.md): Provider implementation for Groq API.

- [LLMUtils.Providers.Mimo](LLMUtils.Providers.Mimo.md): Provider implementation for Xiaomi Mimo API.
- [LLMUtils.Providers.Minimax](LLMUtils.Providers.Minimax.md): Provider implementation for MiniMax API.
- [LLMUtils.Providers.Mock](LLMUtils.Providers.Mock.md): Mock provider for testing purposes.
- [LLMUtils.Providers.NIM](LLMUtils.Providers.NIM.md): Provider implementation for NVIDIA NIM API.
- [LLMUtils.Providers.OpenAI](LLMUtils.Providers.OpenAI.md): Provider implementation for OpenAI API.

- [LLMUtils.Providers.Sarvam](LLMUtils.Providers.Sarvam.md): Provider implementation for Sarvam AI API.
- [LLMUtils.RateLimiter](LLMUtils.RateLimiter.md): In-memory ETS-based sliding window rate limiter.
- [LLMUtils.ResponseParser](LLMUtils.ResponseParser.md): Single entry point for all LLM JSON parsing.

