Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial GitHub Integration for the AI Mentor #231

Open
wants to merge 48 commits into
base: develop
Choose a base branch
from

Conversation

milesha
Copy link
Contributor

@milesha milesha commented Jan 23, 2025

Motivation

To make the AI mentor more engaging we want to integrate the GitHub data into its knowledge base.

Description

  • The state of the graph now includes a dev_progress string, which saves the information about current GitHub PullRequests
  • A new node is called in the beginning of the chat, when any PRs of the current user exist. It generates an overview of the PRs and asks the user if they want to add any of those to the final summary.

Smaller Updates:

  • The SessionService "getSessions()" call now returns the sessions sorted by the creation date.
  • Fix of the typo in the MentorResponse entity.

Testing Instructions

  • Start intelligence-service, webapp and application-server
  • Assign your user a mentor_access role
  • Click on the "AI Mentor" button in the header and start your session:
  • After the greeting you will receive a summary of your PRs of the last week.
  • If you have and draft PRs the bot would reference them in the questions about impediments during the last sprint.

Screenshots (if applicable)

Screenshot 2025-01-23 at 13 05 07

Checklist

General

  • PR title is clear and descriptive
  • PR description explains the purpose and changes
  • Code follows project coding standards
  • Self-review of the code has been done
  • Changes have been tested locally
  • Screenshots have been attached (if applicable)
  • Documentation has been updated (if applicable)

Client (if applicable)

  • UI changes look good on all screen sizes and browsers
  • No console errors or warnings
  • User experience and accessibility have been tested
  • Added Storybook stories for new components
  • Components follow design system guidelines (if applicable)

Server (if applicable)

  • Code is performant and follows best practices
  • No security vulnerabilities introduced
  • Proper error handling has been implemented
  • Added tests for new functionality
  • Changes have been tested in different environments (if applicable)

@milesha milesha self-assigned this Jan 23, 2025
@github-actions github-actions bot added client application-server intelligence-service feature size:XL This PR changes 500-999 lines, ignoring generated files. labels Jan 23, 2025
Base automatically changed from feature/integrate-progress-mentor-chat to develop January 24, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application-server client feature intelligence-service size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant