diff --git a/.gitignore b/.gitignore index b6e4761..bacafd5 100644 --- a/.gitignore +++ b/.gitignore @@ -127,3 +127,6 @@ dmypy.json # Pyre type checker .pyre/ + +#venv +myenv diff --git a/README.md b/README.md index 336c4b5..c742c1b 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,20 @@ Create a ChatGPT like experience over your custom docs using [LangChain](https:/ See [this blog post](https://blog.langchain.dev/tutorial-chatgpt-over-your-data/) for a more detailed explanation. +## Virtual Environment + +`python -m venv myenv` + +`source myenv/bin/activate` + +## Install Dependencies + +`pip install -r requirements.txt` + +## Open API Key + +`export OPENAI_API_KEY="..."` + ## Ingest data Ingestion of data is done over the `state_of_the_union.txt` file. diff --git a/requirements.txt b/requirements.txt index 5a9fe7b..c5f19fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ openai unstructured faiss-cpu gradio +tiktoken