This project contains the necessary scaffolding to deploy LangChain conversation agents with memory and connect them to Telegram.
These 4 steps should get you online. If not, shoot me a message on Discord. Happy to help you out.
Let's go:
Step 1: Just copy paste your LangChain conversation LLMChain into
src/chatbot/get_chatbot
Step 2: Add your telegram bot access token under
BOT_TOKEN
insrc/chatbot.py
. More info here
Step 3: Pip install the latest
steamship_langchain
:pip install --upgrade steamship_langchain
Step 4: Run
python deploy.py
Examples of this package:
- Gym Bro with long-term memory: https://github.com/steamship-packages/langchain-telegram-chatbot/tree/ec/gym-bro