Download the PHP package kambo/langchain without Composer
On this page you can find all versions of the php package kambo/langchain. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kambo/langchain
More information about kambo/langchain
Files in kambo/langchain
Package langchain
Short Description ⚡ Building applications with LLMs through composability in PHP ⚡
License MIT
Homepage https://github.com/kambo/langchain
Informations about the package langchain
🐘🦜️🔗 PHP LangChain
⚡ Building applications with LLMs through composability in PHP ⚡
The LangChain PHP Port is a meticulously crafted adaptation of the original LangChain library, bringing its robust natural language processing capabilities to the PHP ecosystem. This faithful port allows developers to harness the full potential of LangChain's features, while preserving the familiar PHP syntax and structure.
Installation
You can install the package via composer:
🤔 What is this?
Large language models (LLMs) are emerging as a transformative technology, enabling developers to build applications that they previously could not. But using these LLMs in isolation is often not enough to create a truly powerful app - the real power comes when you can combine them with other sources of computation or knowledge.
This library is aimed at assisting in the development of those types of applications. Common examples of these types of applications include:
Work in progress
This library is still in development. Use at your own risk!
Supported features
- Prompt formatting
- LLMs: OpenAI GPT-3, ChatGPT, llama.cpp
- Vector stores: Simple stupid vector store
- Texts splitters: CharacterTextSplitter, RecursiveCharacterTextSplitter
- Embeddings: OpenAI
- Document loaders: TextLoader
More to come!
Documentation
- PHP specific
License
The MIT License (MIT). Please see License File for more information.
All versions of langchain with dependencies
openai-php/client Version ^0.3.5
psr/simple-cache Version ^3.0
ramsey/uuid Version ^4.7
stechstudio/backoff Version ^1.2