This repository contains chatbots built with LangChain & Chainlit. The chatbot can answer questions about math, generate Instagram caption ideas, and provide summaries of current events.
2023-07-11-17-57-45.mp4
This repository contains 3 examples of how to use chainlit and langchain to create interactive applications.
- A simple chatbot that asks questions and provides answers.
- A tool that generates 10 Instagram caption ideas for a given input.
- A chat agent that can answer questions about math and current events
- Clone the repository:
git clone https://github.com/arham-kk/chainlit-langchain-chatbots.git
- To run the examples, you will need to install the following dependencies:
pip install chainlit langchain openai
- Once you have installed the dependencies, you can run the example
Set your OpenAI and SERPAPI key inside the files:
os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
os.environ["SERPAPI_API_KEY"] = os.getenv("SERPAPI_API_KEY")