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
@@ -144,11 +152,16 @@ The Karpor Server Component is main backend server. It itself is an `apiserver`,
144
152
145
153
| Key | Type | Default | Description |
146
154
|-----|------|---------|-------------|
147
-
| server.ai | object |`{"authToken":"","backend":"openai","baseUrl":"","model":"gpt-3.5-turbo","temperature":1,"topP":1}`| AI configuration section. The AI analysis feature requires that [authToken, baseUrl] be assigned values. |
155
+
| server.ai | object |`{"authToken":"","backend":"openai","baseUrl":"","model":"gpt-3.5-turbo","proxy":{"enabled":false,"httpProxy":"","httpsProxy":"","noProxy":""},"temperature":1,"topP":1}`| AI configuration section. The AI analysis feature requires that [authToken, baseUrl] be assigned values. |
148
156
| server.ai.authToken | string |`""`| Authentication token for accessing the AI service. |
149
157
| server.ai.backend | string |`"openai"`| Backend service or platform that the AI model is hosted on. Available options: <br/>- `"openai"`: OpenAI API (default)<br/>- `"azureopenai"`: Azure OpenAI Service<br/>- `"huggingface"`: Hugging Face API<br/> If the backend you are using is compatible with OpenAI, then there is no need to make any changes here. |
150
158
| server.ai.baseUrl | string |`""`| Base URL of the AI service. e.g., "https://api.openai.com/v1".|
151
159
| server.ai.model | string |`"gpt-3.5-turbo"`| Name or identifier of the AI model to be used. e.g., "gpt-3.5-turbo". |
160
+
| server.ai.proxy | object |`{"enabled":false,"httpProxy":"","httpsProxy":"","noProxy":""}`| Proxy configuration for AI service connections. |
161
+
| server.ai.proxy.enabled | bool |`false`| Enable proxy settings for AI service connections. When false, proxy settings will be ignored. |
162
+
| server.ai.proxy.httpProxy | string |`""`| HTTP proxy URL for AI service connections (e.g., "http://proxy.example.com:8080").|
163
+
| server.ai.proxy.httpsProxy | string |`""`| HTTPS proxy URL for AI service connections (e.g., "https://proxy.example.com:8080").|
164
+
| server.ai.proxy.noProxy | string |`""`| No proxy configuration for AI service connections (e.g., "localhost,127.0.0.1,example.com"). |
152
165
| server.ai.temperature | float |`1`| Temperature parameter for the AI model. This controls the randomness of the output, where a higher value (e.g., 1.0) makes the output more random, and a lower value (e.g., 0.0) makes it more deterministic. |
153
166
| server.ai.topP | float |`1`| Top-p (nucleus sampling) parameter for the AI model. This controls Controls the probability mass to consider for sampling, where a higher value leads to greater diversity in the generated content (typically ranging from 0 to 1) |
154
167
| server.enableRbac | bool |`false`| Enable RBAC authorization if set to true. |
0 commit comments