Luminova Framework

AI Client Integration

Table of Contents

  1. OpenAI Client Integration

    Use OpenAI in Luminova for image generation, editing, speech, transcription, vision analysis, and fine-tuning. Includes clear PHP examples and usage patterns.

  2. AI Models BackedEnum Helper

    Optional Luminova PHP enum for AI models. Provides type-safe access, API-ready values, and full enum features like cases(), from(), and match checking. Works with PHP 8.1+.

  3. Ollama AI Client Integration

    Use Ollama with Luminova for local AI chat, embeddings, and model management. Includes practical PHP examples for prompts, streaming, and embeddings.

  4. Anthropic AI Client Integration

    Use Anthropic in Luminova for high-throughput batch processing of chat and text tasks. Includes practical PHP examples for creating, tracking, and managing batch jobs efficiently.

  5. AI Client Manager, Method Forwarding, and Multi-Client Registry

    Central AI manager for Luminova that forwards method calls to configurable clients like Ollama, OpenAI, and Anthropic, with support for static usage and custom client registration.