Skip to content

LabsLLM Guide

Welcome to the LabsLLM documentation! LabsLLM is a PHP library that provides a unified interface for working with various Large Language Models including OpenAI, Google, and Anthropic.

Getting Started

Guides

  • Prompts - Learn how to work with different prompt types and providers
  • Chat - Maintain conversations with AI models using message history
  • Tools - Enable LLMs to call functions in your PHP code

Helpers

  • Messages - Understanding different message types
  • MessageBag - Managing collections of messages for conversations
  • FunctionHelper - Creating callable functions for LLMs
  • Parameters - Defining parameters for function calls

Features

Released under the MIT License.