# PhoenixKitAI v0.3.0 - Table of Contents

> AI module for PhoenixKit — endpoints, prompts, completions, and usage tracking

## Modules

- [PhoenixKitAI](PhoenixKitAI.md): Main context for PhoenixKit AI system.
- [PhoenixKitAI.AIModel](PhoenixKitAI.AIModel.md): Struct representing a normalized AI model from the OpenRouter API.
- [PhoenixKitAI.Completion](PhoenixKitAI.Completion.md): OpenRouter completion client for making AI API calls.
- [PhoenixKitAI.Endpoint](PhoenixKitAI.Endpoint.md): AI endpoint schema for PhoenixKit AI system.
- [PhoenixKitAI.Errors](PhoenixKitAI.Errors.md): Central mapping from error atoms (returned by the AI module's public
API) to translated human-readable strings.
- [PhoenixKitAI.OpenRouterClient](PhoenixKitAI.OpenRouterClient.md): OpenRouter API client for PhoenixKit AI system.
- [PhoenixKitAI.Prompt](PhoenixKitAI.Prompt.md): AI prompt schema for PhoenixKit AI system.
- [PhoenixKitAI.Request](PhoenixKitAI.Request.md): AI request schema for PhoenixKit AI system.
- [PhoenixKitAI.Routes](PhoenixKitAI.Routes.md): Route module for PhoenixKit AI admin routes.
- [PhoenixKitAI.Web.AuthHelpers](PhoenixKitAI.Web.AuthHelpers.md): Per-LV actor-resolution helpers.
- [PhoenixKitAI.Web.EndpointForm](PhoenixKitAI.Web.EndpointForm.md): LiveView for creating and editing AI endpoints.
- [PhoenixKitAI.Web.Endpoints](PhoenixKitAI.Web.Endpoints.md): LiveView for AI endpoints management.
- [PhoenixKitAI.Web.Playground](PhoenixKitAI.Web.Playground.md): LiveView for testing AI endpoints and prompts.
- [PhoenixKitAI.Web.PromptForm](PhoenixKitAI.Web.PromptForm.md): LiveView for creating and editing AI prompts.
- [PhoenixKitAI.Web.Prompts](PhoenixKitAI.Web.Prompts.md): LiveView for AI prompts management.
- [PhoenixKitAI.Web.SortHelpers](PhoenixKitAI.Web.SortHelpers.md): Shared URL-param parsing for the AI admin LVs (`endpoints.ex`,
`prompts.ex`, plus the usage tab inside endpoints).

