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
- Introduction - Learn about LabsLLM and its capabilities
- Installation - How to install LabsLLM and basic usage
- API Response Object - Understanding the response data format from API calls
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