Skip to content

steamship-packages/langchain-production-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Modal LangChain agents in Production

Open in a VS Code Dev Container Steamship

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/1658544730324492303

Add/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. 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 will show you how.

If you want to set-up billing you will need to fetch a payment provider key. This guide will show you how.

Development 😎

..in a Local VS Code Container

Just click here: Open in a VS Code Dev Container

..in a Web VS Code Container

Open in a VS Code Dev Container

..on localhost with your own IDE

Clone this repository, then set up a Python virtual environment with:

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! 🎉