Skip to content

tabcodes/LangchainDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Langchain Demo

A demo application written as an intro into the Python Langchain framework. Utilizes some prompt templates, a sequential chain, and OpenAI to gather some info on a given UFC fighter and display some interesting historical factoids that occurred close to their birthdate. Made while watching Krish Naik's excellent intro to Langchain applications.

Components

  • Langchain / OpenAI
  • Streamlit
  • Py-Dotenv

Usage

  • Installing requirements: pip install -r requirements.txt.
  • Configuration: Rename the included .env.example file and fill in the config entry with your OpenAI API key.
  • Starting the application: streamlit run main.py --server.headless true

About

A quick demo in Python of the Langchain framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages