Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat: describe AI Integration demo #28480

Merged
merged 4 commits into from
Dec 6, 2024

Conversation

vladaskorohodova
Copy link
Contributor

No description provided.

vladaskorohodova and others added 3 commits December 6, 2024 10:01
Co-authored-by: Abadzhev <[email protected]>
Signed-off-by: Vlada Skorohodova <[email protected]>
Co-authored-by: Abadzhev <[email protected]>
Signed-off-by: Vlada Skorohodova <[email protected]>

## Handling dataSource (reloadOnChange: false)

The Chat component's [dataSource](/Documentation/ApiReference/UI_Components/dxChat/Configuration/#dataSource) is a [CustomStore](/Documentation/ApiReference/Data_Layer/CustomStore/) that implements its own load and insert functions. The Chat deactivates [reloadOnChange](/Documentation/ApiReference/UI_Components/dxChat/Configuration/#reloadOnChange) to push updates directly into the store and update the conversation manually. See the [onMessageEntered](/Documentation/ApiReference/UI_Components/dxChat/Configuration/#onMessageEntered) event handler and the `processMessageSending` function to review the code that manages data transfer between the Chat and its data store.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

into the store Do you mean 'storage'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I mean the data store (an entity in DevExtreme data layer), like the CustomStore mentioned.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, thanks

@vladaskorohodova vladaskorohodova merged commit fca9727 into DevExpress:24_2 Dec 6, 2024
80 checks passed
@vladaskorohodova vladaskorohodova deleted the chat-ai-demo24_2 branch December 6, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants