An open API service indexing awesome lists of open source software.

https://github.com/thojou/php-llm-documents

PHP LLM Documents is a powerful PHP library that brings LLM (Large Language Model) functionality into the PHP ecosystem.
https://github.com/thojou/php-llm-documents

Last synced: 19 days ago
JSON representation

PHP LLM Documents is a powerful PHP library that brings LLM (Large Language Model) functionality into the PHP ecosystem.

Awesome Lists containing this project

README

          

# PHP LLM Documents

![Static Badge](https://img.shields.io/badge/PHP_Version-%3E%3D8.1-blue)
[![CI](https://github.com/thojou/php-llm-documents/actions/workflows/ci.yml/badge.svg)](https://github.com/thojou/php-llm-documents/actions/workflows/ci.yml)
![Coverage](https://img.shields.io/badge/coverage-100%25-green)
[![License](https://img.shields.io/github/license/thojou/php-llm-documents)](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](https://python.langchain.com/docs/get_started/introduction) and [doctran](https://github.com/psychic-api/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](https://getcomposer.org/).

> 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.

```bash
composer require thojou/llm-documents:dev-master
```

## Usage

For more practical examples, please refer to the [examples](examples) folder.

## Documentation

> Coming Soon

## License

This project is licensed under the generous and permissive [MIT license](LICENSE).