[Widget] Ai Assistant Widget (Draft)#9428
Conversation
|
Can you explain what did assistant would actually do and how it would integrate with deck? |
|
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. |
|
Thanks, @felixpalmer and @ibgreen ! Yes, sounds good! I will add it as an experimental feature at deck.gl-community. |
@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 ( |
|
Closing in favor of visgl/deck.gl-community#609 |
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!