You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Independently, one user mentioned to me that they would like to be able to include variables names in their message, and that this is one of the critical feature missing in jupyter-ai to make the UX worth it. It feels like:
the chat handler @ should complete variable names (this would need to be fetched from active kernel; there already is a way to do this in the kernel messaging protocol using the same mechanism as tab-completion)
information about the variable should be included in the message (jupyter-ai could reuse some of the jupyterlab-variable-inspector code here to get it).
I feel that for jupyter-ai use case the primary usage of @ should be for including variables/files and only secondary for including other users (as this is a less common use-case).
For contents of the variable inspect_request (in IPython implemented with pinfo) which is part of the kernel messaging protocol could be used too. Maybe we could even add an argument to tell it that that it is for machine rather than human consumption.
Problem
Proposed Solution
The text was updated successfully, but these errors were encountered: