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
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,18 @@ module.exports = {
24
24
}
25
25
```
26
26
27
-
## Configuration
28
-
The plugin uses an HTTP API service to interact with the OpenAI API. By default a service is provided for demo purposes, which is configured in the `.env` file.
27
+
## Configuring the AI Analysis Service
28
+
The plugin uses an HTTP API service to interact with the OpenAI API. By default a service is provided for demo purposes, which is configured in the `.env` file in this project.
29
29
30
30
You can host your own service by cloning the [openai-nightwatch-service](https://github.com/pineviewlabs/openai-nightwatch-service) repository and running it with your own OpenAI API key.
31
31
32
+
When running the [openai-nightwatch-service](https://github.com/pineviewlabs/openai-nightwatch-service), you need to define the `NIGHTWATCH_ANALYSIS_SERVICE_URL` environment variable to point to the service URL. You can also use `.env` files.
33
+
34
+
For example, assuming you have the service running at `http://localhost:4001`, you can create a `.env` file with the following content in the root of your Nightwatch project:
0 commit comments