fastapi-async-langchain-0.4.3
توضیحات
FastAPI async components for streaming LLM chains.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fastapi-async-langchain-0.4.3 |
| نام | fastapi-async-langchain |
| نسخه کتابخانه | 0.4.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ajinkya Indulkar |
| ایمیل نویسنده | 26824103+ajndkr@users.noreply.github.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fastapi-async-langchain/ |
| مجوز | - |
# fastapi-async-langchain
[](https://github.com/ajndkr/fastapi-async-langchain/blob/main/LICENSE)
[](https://pypi.org/project/fastapi-async-langchain/)
Ship production-ready [LangChain](https://github.com/hwchase17/langchain) projects with [FastAPI](https://github.com/tiangolo/fastapi).
## :rocket: Features
- supports token streaming over HTTP and Websocket
- supports multiple langchain `Chain` types (ongoing...)
- simple gradio chatbot UI for fast prototyping
## 💾 Installation
The library is available on PyPI and can be installed via `pip`.
```bash
pip install fastapi-async-langchain
```
## 🎯 Demo Examples
See [`examples/`](examples/README.md) for list of available demo examples.
Create a `.env` file using `.env.sample` and add your OpenAI API key to it
before running the examples.

## 🤝 Contributing
[](https://github.com/ajndkr/fastapi-async-langchain/actions/workflows/code-check.yaml)
[](https://github.com/ajndkr/fastapi-async-langchain/actions/workflows/publish.yaml)
Contributions are more than welcome! If you have an idea for a new feature or want to help improve fastapi-async-langchain, please create an issue or submit a pull request
on [GitHub](https://github.com/ajndkr/fastapi-async-langchain).
See [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.
## ⚖️ License
The library is released under the [MIT License](https://github.com/ajndkr/fastapi-async-langchain/blob/main/LICENSE).
نیازمندی
| مقدار | نام |
|---|---|
| >=0.95.1,<0.96.0 | fastapi |
| >=0.0.157,<0.0.158 | langchain |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4.0 | Python |
نحوه نصب
نصب پکیج whl fastapi-async-langchain-0.4.3:
pip install fastapi-async-langchain-0.4.3.whl
نصب پکیج tar.gz fastapi-async-langchain-0.4.3:
pip install fastapi-async-langchain-0.4.3.tar.gz