Skip to content

sipan17/datafest2023-langchain-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datafest 2023: LangChain Chatbot

data.zip contains transcriptions from Lex Fridman's podcasts. The chatbot aims to have a friendly conversation about those podcasts or anything general. The project's aim is to demonstrate how you can create a chatbot that has access to specific data source.

Feel free to modify and experiment with any step in the pipeline.

Unzip transcription data

unzip data.zip

Create a conda environment

conda create -n langchain_chatbot python=3.9 -y
conda activate langchain_chatbot

Install the requirements

pip install -r requirements.txt

Add any keys required to the environment

For example, for using gpt-4 you need to create OPENAI_API_KEY and export it.

export OPENAI_API_KEY=...

Embed the source documents and store

python create_db.py

Run the chatbot

python chatbot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages