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
Jupyter notebook authors would like to pass an error generated by their code to a large language model (LLM) so that they can understand the error better.
User runs code
Code throws an error
User wants to ask the LLM what the error means, without copying and pasting the error into a new prompt
Proposed Solution
Create a special Err list variables, with the same indexes as the In and Out variables provided by IPython. When a user runs code in cell In[n] that raises an uncaught exception, information about that exception is captured, as a string, in Err[n], and still displayed in the output area.
The text was updated successfully, but these errors were encountered:
Problem
Jupyter notebook authors would like to pass an error generated by their code to a large language model (LLM) so that they can understand the error better.
Proposed Solution
Create a special
Err
list variables, with the same indexes as theIn
andOut
variables provided by IPython. When a user runs code in cellIn[n]
that raises an uncaught exception, information about that exception is captured, as a string, inErr[n]
, and still displayed in the output area.The text was updated successfully, but these errors were encountered: