Skip to content

AI tool to explain the code explain wrong cell. #5946

@tedywillian220687-svg

Description

@tedywillian220687-svg

Describe the current behavior
When selecting the AI help to explain the code, sometimes it explains the wrong cell. It usually happens when the notebook is very large. It seems that the AI loses track of where we are in the code and explains the wrong code based only in the first line, which could be equal to the first line of a different cell.

Describe the expected behavior
AI should be able to explain the correct cell where the help was activated. Maybe pass the cell ID in the pencil icon.

What web browser you are using
Chrome

Additional context
Link to a minimal, public, self-contained notebook that reproduces this issue.

  • Share the file using your GitHub account using File > Save a copy as a GitHub Gist.
  • or Share Drive notebooks using the Share button then 'Get Shareable Link'.

I cannot do this. The notebook has copyrights.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions