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
AIIntegrationServer is an API-only backend that connects [Azure OpenAI](https://azure.microsoft.com/en-us/pricing/details/azure-openai/) with AI-powered DevExtreme DataGrid features:
3
+
AIIntegrationServer is this example's API-only backend that connects [Azure OpenAI](https://azure.microsoft.com/en-us/pricing/details/azure-openai/) with AI-powered DevExtreme DataGrid features:
@@ -41,7 +41,7 @@ Runs chat completions for AI columns. Uses `0.7` temperature value.
41
41
42
42
### POST /api/ai/assistant
43
43
44
-
Runs chat completions for the AI assistant. Uses `0.0` temperature value. Returns responses in JSON schemas (specified in a request `responseSchema` parameter). If `responseSchema` is not specified, returns a empty? JSON response.
44
+
Runs chat completions for the AI assistant. Uses `0.0` temperature value. Returns responses in JSON schemas (specified in a request `responseSchema` parameter). If `responseSchema` is not specified, returns dynamic JSON responses.
45
45
46
46
**Request Body (application/json):**
47
47
@@ -67,7 +67,7 @@ Runs chat completions for the AI assistant. Uses `0.0` temperature value. Return
67
67
68
68
## Configure an AI Service
69
69
70
-
Add your Azure OpenAI credentials to `appsettings.json`:
70
+
Add your Azure OpenAI credentials to `appsettings.json`:
71
71
72
72
```json
73
73
{
@@ -91,4 +91,4 @@ The server will start on:
91
91
92
92
## CORS Policy
93
93
94
-
The server allows all HTTP methods and headers for requests from `http://localhost:5050`. This configuration is for development purposes only. For production, restrict allowed origins in [Program.cs](AIIntegrationServer/Program.cs) to specific domains.
94
+
The server allows all HTTP methods and headers for requests from `http://localhost:5050`. This configuration is for development purposes only. For production, update allowed origins in [Program.cs](AIIntegrationServer/Program.cs) to your production domains.
0 commit comments