thojou/llm-documents

A PHP library adapting the original python Document transformation framework to improve vector search results

dev-master 2023-10-09 08:17 UTC

This package is auto-updated.

Last update: 2024-04-20 11:21:56 UTC


README

Static Badge CI Coverage License

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.

Requirements

  • PHP version >= 8.1

Installation

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 your composer.json file.

composer require thojou/llm-documents:dev-master

Usage

For more practical examples, please refer to the examples folder.

Documentation

Coming Soon

License

This project is licensed under the generous and permissive MIT license.