From d0721efc05e64e22744966835a69d40e0eda1ee8 Mon Sep 17 00:00:00 2001 From: pacexy Date: Wed, 26 Jul 2023 07:42:34 +0800 Subject: [PATCH 1/4] Add example of `.env` file --- .env.example | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..80043b93 --- /dev/null +++ b/.env.example @@ -0,0 +1,9 @@ +# You can copy this file to `.env` and fill in the values. + +# For OpenAI +OPENAI_MODEL=... +OPENAI_API_KEY=... + +# For Azure OpenAI +AZURE_OPENAI_ENDPOINT=... +AZURE_OPENAI_API_KEY=... From a6214474584909f7c7a75b550be6e0d294be88b1 Mon Sep 17 00:00:00 2001 From: pacexy Date: Wed, 26 Jul 2023 07:54:39 +0800 Subject: [PATCH 2/4] update --- .env.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.env.example b/.env.example index 80043b93..fea9a499 100644 --- a/.env.example +++ b/.env.example @@ -1,9 +1,13 @@ # You can copy this file to `.env` and fill in the values. # For OpenAI +# The OpenAI model name (e.g. `gpt-3.5-turbo` or `gpt-4`) OPENAI_MODEL=... +# Your OpenAI API key OPENAI_API_KEY=... # For Azure OpenAI +# The full URL of the Azure OpenAI REST API (e.g. `https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2023-05-15`) AZURE_OPENAI_ENDPOINT=... +# Your Azure OpenAI API key AZURE_OPENAI_API_KEY=... From ad98f08f3280ecd0794c01c59c63dbdd2b4e9d28 Mon Sep 17 00:00:00 2001 From: pacexy Date: Wed, 26 Jul 2023 08:30:03 +0800 Subject: [PATCH 3/4] update --- .env.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index fea9a499..b089cf57 100644 --- a/.env.example +++ b/.env.example @@ -2,12 +2,12 @@ # For OpenAI # The OpenAI model name (e.g. `gpt-3.5-turbo` or `gpt-4`) -OPENAI_MODEL=... +OPENAI_MODEL="" # Your OpenAI API key -OPENAI_API_KEY=... +OPENAI_API_KEY="" # For Azure OpenAI # The full URL of the Azure OpenAI REST API (e.g. `https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2023-05-15`) -AZURE_OPENAI_ENDPOINT=... +AZURE_OPENAI_ENDPOINT="" # Your Azure OpenAI API key -AZURE_OPENAI_API_KEY=... +AZURE_OPENAI_API_KEY="" From 5dc117564a9e13de367ec4c2f8888576df17396b Mon Sep 17 00:00:00 2001 From: pacexy Date: Thu, 19 Oct 2023 06:34:34 +0800 Subject: [PATCH 4/4] keep empty --- .env.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index b089cf57..44f3804a 100644 --- a/.env.example +++ b/.env.example @@ -2,12 +2,12 @@ # For OpenAI # The OpenAI model name (e.g. `gpt-3.5-turbo` or `gpt-4`) -OPENAI_MODEL="" +OPENAI_MODEL= # Your OpenAI API key -OPENAI_API_KEY="" +OPENAI_API_KEY= # For Azure OpenAI # The full URL of the Azure OpenAI REST API (e.g. `https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2023-05-15`) -AZURE_OPENAI_ENDPOINT="" +AZURE_OPENAI_ENDPOINT= # Your Azure OpenAI API key -AZURE_OPENAI_API_KEY="" +AZURE_OPENAI_API_KEY=