Overview of Prism features
mainPrism is a Laravel package designed for integrating Large Language Models (LLMs) into applications. Key capabilities include:
- Elegant Provider Integrations: Switch between providers like OpenAI, Anthropic, and Ollama using a clean syntax.
- Fluent Text Generation API: An intuitive, chainable API for crafting AI-powered text.
- Seamless Tool Integration: Extend AI capabilities by providing custom tools and external APIs.
- Structured Output Handling: Transform AI responses into strongly-typed data using schema validation and object mapping.
- First-Class Testing Support: Includes utilities for response faking and detailed assertion helpers for unit testing.
- Multi-Modal Capabilities: Support for text, images, and audio through a unified API.