Laravel package for LLM integration
Top 25.0% on sourcepulse
Prism is a Laravel package designed to simplify the integration of Large Language Models (LLMs) into PHP applications. It offers a fluent API for text generation, conversational AI, and tool usage across multiple AI providers, enabling developers to build AI-powered features without deep LLM infrastructure knowledge.
How It Works
Prism abstracts the complexities of interacting with different LLM APIs through a unified, expressive interface. It handles request formatting, response parsing, and state management for conversational flows, allowing developers to chain operations and define AI interactions in a readable, object-oriented manner.
Quick Start & Requirements
composer require prism-php/prism
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The package is primarily focused on the Laravel framework and may require significant adaptation for use outside of this ecosystem.
1 day ago
1 day