-
Notifications
You must be signed in to change notification settings - Fork 13
Switch to jupyterlab-ai-commands
#219
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
base: main
Are you sure you want to change the base?
Conversation
|
Related discussion https://github.com/orgs/jupyter-ai-contrib/discussions/7 |
|
This may still need an iteration to check how diffs should be handled, since |
| - For other JupyterLab operations (terminal, launcher, UI), use specific keywords like 'terminal', 'launcher', etc. | ||
| - IMPORTANT: Always use 'jupyterlab-ai-commands' as the query for file/notebook tasks - this returns a focused set of commands instead of 100+ generic JupyterLab commands | ||
| KERNEL PREFERENCE FOR NOTEBOOKS AND CONSOLES: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can have something like this in the prompt for now while waiting for jupyterlab/jupyterlab#18337
Looking into #205
https://github.com/jupyter-ai-contrib/jupyterlab-ai-commands extracts the tools from
jupyterlite-aiand converts them to regular JupyterLab commands.With this PR, there is now only 2 tools left:
discover_commandsexecute_commandsThe prompt is also updated to guide the LLM to use the commands from
jupyterlab-ai-commandsfor file and notebook manipulation.The tool call UI is also updated to show the command id:
jupyterlite-ai-lab-commands.mp4