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

Feat/integrate gemini insights #136

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ANIRUDH-333
Copy link
Contributor

Fixes #51

Changes:

  • Adds functionality to call Gemini API
  • Exposes new endpoint
  • Modifies migration file to add a column in db to store true/false state for enabling the AI insights
  • Adds button if the value is true, else button disappears

@@ -243,3 +247,64 @@ func (h *Handler) Ping(c *gin.Context) {
"message": "Fern Reporter is running!",
})
}

func (h *Handler) GetGeminiInsights(c *gin.Context) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on this! It would be helpful to expand the data to be able to include more than one test run at a time (such as providing all the test runs from the same project), so that the model has more context to work with.

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.

Feat: Use chatgpt to identify insights from data
2 participants