AI Assistant: DataGrid - write JS frameworks demos (Vue)#33668
Open
Raushen wants to merge 3 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Vue demo for the DataGrid AI Assistant, including a Vue app entry point, page host, grid UI with chat suggestions, and an Azure OpenAI-backed AIIntegration provider.
Changes:
- Introduces a Vue DataGrid AI Assistant demo UI (
App.vue) with search/filter/grouping/paging and predefined prompt suggestions. - Adds a Vue
AIIntegrationprovider (service.ts) that calls the demo Azure OpenAI endpoint and retries on transient “Connection error” responses. - Adds Vue demo bootstrap and HTML host (
index.ts,index.html).
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| apps/demos/Demos/DataGrid/AIAssistant/Vue/service.ts | Implements the Azure OpenAI-backed provider used by DataGrid AI Assistant (request, retry, abort). |
| apps/demos/Demos/DataGrid/AIAssistant/Vue/index.ts | Boots the Vue app and mounts App.vue. |
| apps/demos/Demos/DataGrid/AIAssistant/Vue/index.html | Provides the demo HTML host and SystemJS-based TS entry loading. |
| apps/demos/Demos/DataGrid/AIAssistant/Vue/App.vue | Renders the DataGrid with AI Assistant enabled and configures chat suggestions behavior. |
…AIAssistant-Demo-Vue
| prompt: string; | ||
| } | ||
|
|
||
| const onSuggestionItemClick = (e: DxButtonGroupTypes.ItemClickEvent) => { |
Contributor
There was a problem hiding this comment.
Suggested change
| const onSuggestionItemClick = (e: DxButtonGroupTypes.ItemClickEvent) => { | |
| const onSuggestionItemClick = (e: DxButtonGroupTypes.ItemClickEvent<SuggestionItem>) => { |
dmirgaev
reviewed
May 22, 2026
| }, | ||
| }; | ||
|
|
||
| const response = await service.chat.completions.create(params as never, { signal }); |
Contributor
There was a problem hiding this comment.
We can extend OpenAI.ChatCompletionCreateParamsStreaming and use it for params if needed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.