Explain Object Context with AI

Get an AI-driven explanation of an object together with its immediate callers and callees

Overview

This option provides an AI-driven explanation of the code in the object within its context.

How does it work?

  1. User triggers to explain object context: the user initiates explanation generation from the user interface.
  2. System share the object + callers/callees code snippet with LLM: the system shares:
    • Source code snippet for object and first-level callers/callee objects
    • Link type between object and first-level callers/callee objects
  3. LLM reads code and generates an object-level explanation: use the LLM to fetch an explanation for the object source code shared in simple natural language
  4. Display explanation for the user

Key points:

  • The source code for object and its first level of callers and callees involved is shared to the LLM.
  • The explanation is generated as a Post-It that can be saved along with the view for reference.

What does it do?

Enables right-click contextual menu options when consulting results at Object level:

The “Explain object in application context” option will do two things:

  1. Open the object in a new tab and display all its immediate caller and callee objects
  2. Provide an explanation of the object based on its context within the application and store that explanation in a Post-It: