From b5f6b33c687ce5f6c8493204daa6d24fa8b6d433 Mon Sep 17 00:00:00 2001 From: Patrick Shyu Date: Thu, 29 Jun 2023 15:01:37 -0700 Subject: [PATCH] Cleanup constants defaults --- README.md | 2 +- constants.py | 1 - constants.py.default | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 constants.py create mode 100644 constants.py.default diff --git a/README.md b/README.md index cc733d796..5337d93c8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Install [Langchain](https://github.com/hwchase17/langchain) and other required p ``` pip install langchain openai chromadb tiktoken unstructured ``` -Modify `constants.py` to use your own [OpenAI API key](https://platform.openai.com/account/api-keys). +Modify `constants.py.default` to use your own [OpenAI API key](https://platform.openai.com/account/api-keys), and rename it to `constants.py`. Place your own data into `data/data.txt`. diff --git a/constants.py b/constants.py deleted file mode 100644 index 583b0dd7f..000000000 --- a/constants.py +++ /dev/null @@ -1 +0,0 @@ -APIKEY = "" diff --git a/constants.py.default b/constants.py.default new file mode 100644 index 000000000..0934537a7 --- /dev/null +++ b/constants.py.default @@ -0,0 +1,3 @@ +# Replace with your own OpenAI API Key https://platform.openai.com/account/api-keys +# and rename this file to constants.py. +APIKEY = ""