Skip to content

This repository contains chatbots built with LangChain & Chainlit. The chatbots can answer questions about math, generate Instagram caption ideas, and provide summaries of current events.

License

Notifications You must be signed in to change notification settings

arham-kk/chainlit-langchain-chatbots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chainlit Langchain Chatbots

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.

  1. A simple chatbot that asks questions and provides answers.
  2. A tool that generates 10 Instagram caption ideas for a given input.
  3. A chat agent that can answer questions about math and current events

Installation

  1. Clone the repository:
git clone https://github.com/arham-kk/chainlit-langchain-chatbots.git
  1. To run the examples, you will need to install the following dependencies:
pip install chainlit langchain openai
  1. Once you have installed the dependencies, you can run the example

Usage

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")

About

This repository contains chatbots built with LangChain & Chainlit. The chatbots can answer questions about math, generate Instagram caption ideas, and provide summaries of current events.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages