Skip to main content

Explain Error Agent

The Explain Error Agent explains the first error encountered in a notebook. It leverages AI models to explain the error in the code cell, providing insights into the error and potential solutions by adding new cells. This is a great Agent to support the following use cases:

  • Error Explanation: Explain the error encountered in the code cell.
  • Error Resolution: Provide potential solutions to resolve the error.

Jupyter AI Agent

jupyter-ai-agent explain-error \
--url http://localhost:8888 \
--token MY_TOKEN \
--azure-ai-deployment-name gpt-40-mini \
--path test.ipynb

Parameters

  • --url: JupyterLab URL.
  • --token: JupyterLab token.
  • --azure-ai-deployment-name: Azure AI model deployment name.
  • --path: Notebook to modify path.