Metadata-Version: 2.1
Name: erniebot-agent
Version: 0.0.2
Summary: Python library for the ERNIE Bot Agent
Classifier: Programming Language :: Python
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: erniebot
Requires-Dist: PyYAML
Requires-Dist: openapi-spec-validator
Requires-Dist: pydantic
Requires-Dist: langchain
Provides-Extra: gradio
Requires-Dist: gradio >=3.48 ; extra == 'gradio'

<div align="center">

<h1>ERNIE Bot Agent</h1>

ERNIE Bot Agent 可以快速开发智能体。

[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE)
![python version](https://img.shields.io/badge/python-3.8+-orange.svg)
![support os](https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-yellow.svg)

</div>

`ERNIE Bot Agent` 旨在为开发者提供快速搭建大模型Agent和应用的框架。该项目还在积极研发中，敬请期待我们后续的正式发版。

## 主要功能

### 大模型 Agent 框架

`ERNIE Bot Agent` 将结合飞桨星河AI Studio社区，为开发者提供一站式的大模型Agent和应用搭建框架和平台。该项目还在积极研发中，敬请期待我们后续的正式发版。

### 文心 LangChain 插件

为了让大家更加高效、便捷地结合文心大模型与LangChain进行开发，`ERNIE Bot Agent`对`LangChain`框架进行了功能扩展，提供了基于文心大模型的大语言模型（LLM）组件、聊天模型（ChatModel）组件以及文本嵌入模型（Text Embedding Model）组件。详情请参见[使用范例Notebook](https://github.com/PaddlePaddle/ERNIE-Bot-SDK/blob/develop/erniebot-agent/examples/cookbook/how_to_use_langchain_extension.ipynb)。


## 快速安装

建议您可以使用pip快速安装 ERNIE Bot Agent 的最新稳定版。

```shell
pip install --upgrade erniebot-agent
```

如需使用develop版本，可以下载源码后执行如下命令安装

```shell
git clone https://github.com/PaddlePaddle/ERNIE-Bot-SDK.git
cd ERNIE-Bot-SDK/erniebot-agent
pip install .
```

## License

ERNIE Bot Agent遵循Apache-2.0开源协议。
