Skip to content

Latest commit

 

History

History

langchain

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Langchain

Prepare the virtual environment

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Export OpenAI API key

export OPENAI_APIKEY="..."

Import pdf from the ../import_docs folder

python3 import.py

Ask questions

python3 query.py -in "How google handles an incident that spans multiple services ?"