Here's the YouTube Video.
Install Langchain and other required packages.
pip install langchain openai chromadb tiktoken unstructured
pip install pypdf -- not working with PDFs yet need to modify code
change creativity parameter == , temperature=0.6 0.0 least -> 1.0 most creative
Test reading data/data.txt
file.
> python chatgpt.py "what is my dog's name"
Your dog's name is Sunny.
Test reading data/cat.pdf
file.
> python chatgpt.py "what is my cat's name"
Your cat's name is Muffy.