Skip to content

[Widget] Ai Assistant Widget (Draft)#9428

Closed
lixun910 wants to merge 2 commits into
visgl:masterfrom
lixun910:xli-widget-assistant
Closed

[Widget] Ai Assistant Widget (Draft)#9428
lixun910 wants to merge 2 commits into
visgl:masterfrom
lixun910:xli-widget-assistant

Conversation

@lixun910
Copy link
Copy Markdown

Summary

I've helped people from deck.gl community to integrate the openassistant with deck.gl following the example that demonstrated in kepler.gl 3.1 release blog. See the blog here: https://openassistant-doc.vercel.app/blog/deckgl-assistant

Then, I realized that maybe it's a good idea to add openassistant as a deck.gl Widget. See the screenshot below and an example react project here: https://github.com/GeoDaCenter/openassistant/tree/main/examples/deckgl_assistant

This will introduce new dependencies like openassistant library, so I am not sure if this PR makes sense or just maintain it as an example. Let me know what you think cc @ibgreen Thanks!

Screenshot 2025-02-12 at 4 58 14 PM

@felixpalmer
Copy link
Copy Markdown
Collaborator

Can you explain what did assistant would actually do and how it would integrate with deck?

@ibgreen
Copy link
Copy Markdown
Collaborator

ibgreen commented Feb 13, 2025

We have a repository for experimental features: https://github.com/visgl/deck.gl-community where we can incubate such ideas.

I would recommend that adding this to the experimental module there, or even to a new ai module, would be a good first step. We can get this landed and published within a few days, and iterate fast without having to reach consensus and pass the high review bar of the core repo.

As @felixpalmer suggests, one way to give more built-in power to such an assistant would be to integrate with the data managed by deck, and by being able to create new layers.

Right now, a number of ideas on how to do this have started to percolate among the maintainers, and this component could help bring more direction / focus to those discussions.

@lixun910
Copy link
Copy Markdown
Author

Thanks, @felixpalmer and @ibgreen ! Yes, sounds good! I will add it as an experimental feature at deck.gl-community.

@chrisgervang
Copy link
Copy Markdown
Collaborator

Can you explain what did assistant would actually do and how it would integrate with deck?

@felixpalmer they attached a blog write up with interesting examples.

Hey @lixun910, happy to help with the preact JSX build tools over in the community repo if you run into any issues. You should be able to copy how the deck widgets module does it (modules/widgets/tsconfig.json and L119 from .eslintrc.cjs).

@ibgreen ibgreen mentioned this pull request Mar 4, 2025
62 tasks
@ibgreen
Copy link
Copy Markdown
Collaborator

ibgreen commented Apr 26, 2026

Closing in favor of visgl/deck.gl-community#609

@ibgreen ibgreen closed this Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants