https://github.com/steamship-core/langchain-production-starter
Deploy LangChain Agents and connect them to Telegram
https://github.com/steamship-core/langchain-production-starter
chatbot gpt4 langchain langchain-python python telegram-bot
Last synced: 3 months ago
JSON representation
Deploy LangChain Agents and connect them to Telegram
- Host: GitHub
- URL: https://github.com/steamship-core/langchain-production-starter
- Owner: steamship-core
- Created: 2023-04-13T17:04:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-27T15:01:48.000Z (over 1 year ago)
- Last Synced: 2024-09-28T05:04:53.063Z (7 months ago)
- Topics: chatbot, gpt4, langchain, langchain-python, python, telegram-bot
- Language: Python
- Homepage:
- Size: 4.43 MB
- Stars: 430
- Watchers: 9
- Forks: 546
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - steamship-core/langchain-production-starter - Deploy LangChain Agents and connect them to Telegram (Python)
README
# Multi-Modal LangChain agents in Production
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/steamship-packages/langchain-telegram-chatbot)
[](https://www.steamship.com/build?utm_source=github&utm_medium=badge&utm_campaign=awesome_gpt_prompts&utm_id=awesome_gpt_prompts)This starter project contains the necessary scaffolding to deploy LangChain Agents with memory and connect them to Telegram.
Get started:
https://twitter.com/eniascailliau/status/1658544730324492303Add/Edit voice:
https://twitter.com/eniascailliau/status/1658841969211088905## 🚀 Features
- 🧠 Support for OpenAI GPT-4 and GPT-3.5
- 🔗 Embeddable chat window
- 🔌 Connect your chatbot to Telegram
- 🔈 Give your Agent a voice
- 💸 Moneytize your agent## Quick-start guide 🛠️
Getting your agent online only takes 4 steps. If not, shoot me a message on [Discord](https://steamship.com/discord). Happy to help you out.
1. Clone the repository
2. Add your agent to `src/api.py`
3. Install required dependencies: `pip install --upgrade -r requirements.txt`
4. Run `ship deploy && ship use`## Getting started
To run your companion locally:
```
pip install -r requirements.txt
python src/api.py
```To deploy your companion & connect it to Telegram:
```
pip install -r requirements.txt
ship deploy && ship use
```You will need to fetch a Telegram key to connect your companion to Telegram. [This guide](/docs/register-telegram-bot.md) will show you how.
If you want to set-up billing you will need to fetch a payment provider key. [This guide](/docs/payment-telegram-bot.md) will show you how.
## Development 😎
**..in a Local VS Code Container**
Just click here: [](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/steamship-core/hackathon-starter)
**..in a Web VS Code Container**
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/steamship-packages/langchain-telegram-chatbot)
**..on localhost with your own IDE**
Clone this repository, then set up a Python virtual environment with:
```bash
pip install -r requirements.txt
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.## License
This project is licensed under the MIT License.## Happy building! 🎉