PHP LLM Documents is a powerful PHP library that brings LLM (Large Language Model) functionality into the PHP ecosystem. It incorporates various features inspired by popular Python libraries such as langchain and doctran. This library offers capabilities for web search, web scraping, document transformation, text splitting, embeddings, vector storage and retrieval.
- PHP version >= 8.1
You can effortlessly install the PHP LLM Documents using the popular package manager composer.
This project is currently under development. If installing with composer, please make sure to accept a minimum stability of
dev
in yourcomposer.json
file.
composer require thojou/llm-documents:dev-master
For more practical examples, please refer to the examples folder.
Coming Soon
This project is licensed under the generous and permissive MIT license.