Skip to content

Feature: Add Context Support for Adjacent (Java) Files Referenced in Prompts #18

@PatrickDiallo23

Description

@PatrickDiallo23

Enhance JAIG's capabilities by enabling it to provide context for adjacent files referenced within methods in the prompt (similar to RAG functionality). This feature ensures that the system can analyze and utilize related files in the same project or directory to generate more accurate and context-aware outputs.

Example Workflow:

  1. User provides a prompt:
    "Refactor the calculateDiscount method in OrderService.java using utility methods from DiscountUtils.java."
  2. JAIG detects the reference to DiscountUtils.java, fetches its contents, and includes relevant context in processing.
  3. Output reflects the integration of methods from DiscountUtils.java.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions