jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

Use `@jupyter/chat` as chat UI

Open brichet opened this issue 1 year ago • 2 comments
trafficstars

This would be the first step of https://github.com/jupyterlab/jupyter-ai/issues/785, before discussing how to use the collaborative chat extension.

Problem

@jupyter/chat package was built mainly by refactoring the code of the jupyter-ai chat component. One of the idea was to be able to use it in jupyter-ai, while providing a chat component for other possible extensions.

The jupyter-ai chat component has evolved since. If we want the migration to be possible, we need to make sure that all the features of jupyter-ai chat are fulfilled by @jupyter/chat.

Proposed Solution

List all the features of jupyter-ai chat and see if and how they can be implemented in @jupyter/chat, to ensure a smooth migration.

Feel free to update the list below.

cc. @dlqqq @3coins @JasonWeill @ellisonbg

Additional context

  • [x] autocompletion https://github.com/jupyterlab/jupyter-ai/pull/810
  • [x] code toolbar https://github.com/jupyterlab/jupyter-ai/pull/789
  • [x] focusing the input box https://github.com/jupyterlab/jupyter-ai/pull/876
  • [x] https://github.com/jupyterlab/jupyter-ai/pull/859
  • [x] https://github.com/jupyterlab/jupyter-ai/pull/905
  • [ ] https://github.com/jupyterlab/jupyter-ai/pull/942
  • [ ] https://github.com/jupyterlab/jupyter-ai/pull/943
  • [ ] https://github.com/jupyterlab/jupyter-ai/pull/951
  • [ ] Need an API in jupyter-chat for https://github.com/jupyterlab/jupyter-ai/pull/971 ?
  • [ ] https://github.com/jupyterlab/jupyter-ai/pull/821

brichet avatar Jun 27 '24 16:06 brichet

This one (https://github.com/jupyterlab/jupyter-ai/pull/859) merged a few days ago may also be relevant to https://github.com/jupyterlab/jupyter-chat/issues/52.

jtpio avatar Jul 01 '24 12:07 jtpio

Adding this new one so it's also on the radar: https://github.com/jupyterlab/jupyter-ai/pull/905

jtpio avatar Jul 23 '24 20:07 jtpio

Awesome job team! Closing since we have already migrated to Jupyter Chat.

dlqqq avatar Apr 02 '25 22:04 dlqqq