Skip to content

Add Code Summary Button to Analyze and Summarize Code#606

Open
saikiranAnnam wants to merge 1 commit intoESIPFed:AI-featuresfrom
saikiranAnnam:feature/ai-summarize
Open

Add Code Summary Button to Analyze and Summarize Code#606
saikiranAnnam wants to merge 1 commit intoESIPFed:AI-featuresfrom
saikiranAnnam:feature/ai-summarize

Conversation

@saikiranAnnam
Copy link
Collaborator

Description:
This PR introduces a "Code Summary" button to the Geoweaver UI. When clicked, it analyzes the code in the process tab and generates a concise summary using the GPT API.

NOTE : Remember to update the API key in the code.

Changes:
Added a "Code Summary" button next to the code editor in the process tab.
Integrated API call to analyze the code and return a summary.
Displayed the summary in a pop-up/modal.

How it Works:
User clicks the "Code Summary" button.
The code is sent to the GPT API for analysis.
The generated summary is displayed in a log-section.

Testing:
Tested with different scripts and verified accurate summaries.

Screenshots:

Screenshot 2025-02-21 at 8 53 57 PM
Screenshot 2025-02-21 at 8 54 53 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant