prism

A unified interface for working with LLMs in Laravel

What is prism?

A unified interface for working with LLMs in Laravel

Overview of prism

What it is

Prism is a Laravel package that provides a unified interface for integrating Large Language Models (LLMs) into applications. It is designed to abstract the technical complexities of working with different AI providers, allowing developers to focus on building AI features. The package is authored by TJ Miller with contributions from the open source community and follows the Laravel Code of Conduct.

Key features

  • Fluent interface for generating text - Support for handling multi-step conversations - Ability to utilize tools with various AI providers - Unified abstraction layer across different LLM providers

Use cases

Prism can be used in Laravel applications that require LLM integration, such as generating dynamic content, building conversational agents, or enabling tool-assisted AI interactions. It is suitable for developers who want a consistent API regardless of the underlying AI provider.

Getting started

See the repository README or official documentation at prismphp.com for installation and quick-start instructions.

License and pricing

The package is released under the MIT License and is open source. No pricing information is stated.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/prism-phpprism.svg)](https://yunodb.com/tools/prism-phpprism?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/prism-phpprism?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/prism-phpprism.svg" alt="Featured on YunoDB" height="20"></a>