jupyter-ai
jupyter-ai copied to clipboard
Use `@jupyter/chat` as chat UI
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-chatfor https://github.com/jupyterlab/jupyter-ai/pull/971 ? - [ ] https://github.com/jupyterlab/jupyter-ai/pull/821
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.
Adding this new one so it's also on the radar: https://github.com/jupyterlab/jupyter-ai/pull/905
Awesome job team! Closing since we have already migrated to Jupyter Chat.