/using_langchain

A small project that use lanchain to using chatGPT with your own extra data with python

Primary LanguagePython

How to use langchain

Installation

pip install langchain
pip install openai
pip install chromadb
pip install tiktoken

Modify constants.py to use your own OpenAI API key.

Place your own data into data.txt.

Example usage

$ python chat.py "what is my dog's Lucky"
Your dog's name is Lucky.