You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,17 @@ venv\Scripts\activate
53
53
pip install -r requirements.txt
54
54
```
55
55
56
+
### Configure the Application
57
+
To configure the application, there are a few properties that can be set either via the environment or via config.json. The environment variable takes priority.
| The OpenAI Api Key | OPENAI_API_KEY | openai_key | sk-...
62
+
| The OpenAI Base URL | OPENAI_API_BASE | openai_api_key | https://api.openai.com <br> http://my-reverse-proxy/
63
+
64
+
Use the Base URL if you need to run your queries through a reverse proxy (like [this one](https://github.com/stulzq/azure-openai-proxy) which will run your queries through Azure's OpenAI endpoints )
65
+
66
+
56
67
### Running the Application
57
68
To run the application, make sure the virtual environment is active and run the following command:
58
69
```
@@ -64,3 +75,4 @@ The easiest way to run ChatGPT Clone is by using docker
0 commit comments