/langchain-llama_index-chainlit-LLMagent-chatbots

How to use Langchain to unlock the potential capability of language models like gpt-3.5-turbo or gpt-4 by demonstrating chatbot development that thrives on internet data

Primary LanguagePython

This repository contains chatbots built with LangChain & Chainlit. The chatbot can answer questions based on a provided Document or plan dynamic Trip itineraries.

Custom.Travel.Planner.Agent.mp4

Installation:

  1. Clone the repository:
git clone https://github.com/VikramDesai/langchain-llama_index-chainlit-LLMagent-chatbots.git
  1. To run the examples, you will need to install the following dependencies:
!pip install langchain openai tiktoken duckduckgo-search
  1. Once you have installed the dependencies, you can run the example
python3 -m  chainlit run HitchHikersGuide.py

Usage:

1.Set your openAI token key inside the file :

os.environ["OPENAI_API_KEY"] = "<openai-key>"