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
-[Set up the Environment](#set-up-the-environment)
21
+
-[Running the Application](#running-the-application)
13
22
-[User Interface](#user-interface)
23
+
-[Stopping the Application](#stopping-the-application)
14
24
-[Troubleshooting](#troubleshooting)
15
25
-[Additional Info](#additional-info)
16
26
@@ -124,21 +134,22 @@ Before you begin, ensure you have the following installed:
124
134
This application supports multiple inference deployment patterns:
125
135
126
136
-**GenAI Gateway**: Provide your GenAI Gateway URL and API key
137
+
- To generate the GenAI Gateway API key, use the [generate-vault-secrets.sh](https://github.com/opea-project/Enterprise-Inference/blob/main/core/scripts/generate-vault-secrets.sh) script
138
+
- The API key is the `litellm_master_key` value from the generated `vault.yml` file
139
+
127
140
-**APISIX Gateway**: Provide your APISIX Gateway URL and authentication token
128
-
129
-
Configuration requirements:
130
-
- INFERENCE_API_ENDPOINT: URL to your inference service (GenAI Gateway, APISIX Gateway, etc.)
131
-
- INFERENCE_API_TOKEN: Authentication token/API key for your chosen service
141
+
- To generate the APISIX authentication token, use the [generate-token.sh](https://github.com/opea-project/Enterprise-Inference/blob/main/core/scripts/generate-token.sh) script
142
+
- The token is generated using Keycloak client credentials
132
143
133
144
### Local Development Configuration
134
145
135
146
**For Local Testing Only (Optional)**
136
147
137
-
If you're testing with a local inference endpoint using a custom domain (e.g., `inference.example.com` mapped to localhost in your hosts file):
148
+
If you're testing with a local inference endpoint using a custom domain (e.g., `api.example.com` mapped to localhost in your hosts file):
138
149
139
150
1. Edit `.env` and set:
140
151
```bash
141
-
LOCAL_URL_ENDPOINT=inference.example.com
152
+
LOCAL_URL_ENDPOINT=api.example.com
142
153
```
143
154
(Use the domain name from your INFERENCE_API_ENDPOINT without `https://`)
0 commit comments