Skip to content

Commit

Permalink
Rename app.groundlight.ai to dashboard.groundlight.ai (#270)
Browse files Browse the repository at this point in the history
New login flow.
  • Loading branch information
tyler-romero authored Oct 30, 2024
1 parent bb33854 commit 9820c18
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 43 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ Some more resources you might like:
- [Code Documentation](https://code.groundlight.ai/python-sdk/docs/getting-started)
- [Python SDK on PyPi](https://pypi.org/project/groundlight/) or [GitHub](https://github.com/groundlight/python-sdk)
- [Company](https://www.groundlight.ai/)
- [Login to Groundlight App](https://app.groundlight.ai/)
- [Login to the Groundlight Dashboard](https://dashboard.groundlight.ai/)
3 changes: 1 addition & 2 deletions docs/docs/getting-started/1-api-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ gl = Groundlight(api_token=token)
```

## Creating and Revoking API Tokens
You can manage your API tokens from the Groundlight website at [https://app.groundlight.ai/reef/my-account/api-tokens](https://app.groundlight.ai/reef/my-account/api-tokens).
You can manage your API tokens from the Groundlight dashboard at [https://dashboard.groundlight.ai/reef/my-account/api-tokens](https://dashboard.groundlight.ai/reef/my-account/api-tokens).


### Creating API Tokens
Expand All @@ -66,4 +66,3 @@ On the API tokens page, you can see a list of your current tokens, along with th
1. Confirm that you want to revoke the token.

Note: Revoking an API token will immediately invalidate it and prevent any applications using it from accessing your Groundlight account. Be sure to update your applications with a new token before revoking an old one.

3 changes: 1 addition & 2 deletions docs/docs/getting-started/3-retail-analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pip install groundlight opencv-python pillow

## Creating the Application

1. First, log in to the [Groundlight application](https://app.groundlight.ai) and get an [API Token](api-tokens).
1. First, log in to the [Groundlight dashboard](https://dashboard.groundlight.ai) and create an [API Token](https://dashboard.groundlight.ai/reef/my-account/api-tokens).

2. Next, we'll write the Python script for the application. Import the required libraries:

Expand Down Expand Up @@ -166,4 +166,3 @@ Save the script as `service_counter_monitor.py` and run it:
```bash
python service_counter_monitor.py
```

3 changes: 1 addition & 2 deletions docs/docs/getting-started/4-dog-on-couch.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pip install groundlight opencv-python pillow pyaudio

## Creating the Application

1. First, log in to the [Groundlight application](https://app.groundlight.ai) and get an [API Token](api-tokens).
1. First, log in to the [Groundlight dashboard](https://dashboard.groundlight.ai) and create an [API Token](https://dashboard.groundlight.ai/reef/my-account/api-tokens).

2. Next, we'll write the Python script for the application. Import the required libraries:

Expand Down Expand Up @@ -106,4 +106,3 @@ Save the script as `dog_on_couch_detector.py` and run it:
```bash
python dog_on_couch_detector.py
```

3 changes: 1 addition & 2 deletions docs/docs/getting-started/5-streaming.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This will download the most recent frame from a YouTube live stream and save it
chmod +x get_latest_frame.sh
```

3. Log in to the [Groundlight application](https://app.groundlight.ai) and get an [API Token](api-tokens).
3. Log in to the [Groundlight dashboard](https://dashboard.groundlight.ai) and create an [API Token](https://dashboard.groundlight.ai/reef/my-account/api-tokens).

4. Next, we'll write the Python script for the application.

Expand Down Expand Up @@ -83,4 +83,3 @@ if __name__ == "__main__":
```bash
python streaming_alert.py --video-id=<VIDEO_ID> --detector-name=<DETECTOR_NAME> --query=<QUERY IN QUOTATION MARKS>
```

3 changes: 1 addition & 2 deletions docs/docs/getting-started/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ Groundlight's Escalation Technology combines the power of generative AI using ou
pip3 install groundlight
```

1. Head over to the [groundlight web
app](https://app.groundlight.ai/reef/my-account/api-tokens) to create an [API token](/docs/getting-started/api-tokens). You will
1. Head over to the [Groundlight dashboard](https://dashboard.groundlight.ai/) to create an [API token](https://dashboard.groundlight.ai/reef/my-account/api-tokens). You will
need to set the `GROUNDLIGHT_API_TOKEN` environment variable to access the API.

```shell
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const config = {
},
{
label: "Sign In",
href: "https://app.groundlight.ai/",
href: "https://dashboard.groundlight.ai/",
},
],
},
Expand Down
53 changes: 23 additions & 30 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/groundlight/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
API_TOKEN_WEB_URL = "https://app.groundlight.ai/reef/my-account/api-tokens"
API_TOKEN_WEB_URL = "https://dashboard.groundlight.ai/reef/my-account/api-tokens"
API_TOKEN_VARIABLE_NAME = "GROUNDLIGHT_API_TOKEN"

DEFAULT_ENDPOINT = "https://api.groundlight.ai/"
Expand Down

0 comments on commit 9820c18

Please sign in to comment.