承接 kambo/langchain 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kambo/langchain

最新稳定版本:0.2.0-alpha

Composer 安装命令:

composer require kambo/langchain

包简介

⚡ Building applications with LLMs through composability in PHP ⚡

README 文档

README

⚡ Building applications with LLMs through composability in PHP ⚡

Latest Version on Packagist Tests Total Downloads License: MIT

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:

composer require kambo/langchain

🤔 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

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 3.82k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 314
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 314
  • Watchers: 18
  • Forks: 36
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-02