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

Gemini powered Site Kit Assistant. #8766

Draft
wants to merge 2 commits into
base: feature/exp-memorable-quotes
Choose a base branch
from

Conversation

benbowler
Copy link
Collaborator

@benbowler benbowler commented May 29, 2024

Summary

A WIP branch to develop a Site Kit Assistant.

Relevant technical choices

In the first PoC I used the javascript SDK, before switching to the PHP SDK, August 2024. I also updated the assistant to have a number of supported areas of knowledge and use a multiple request approach where Gemini first classifies the question type before another request is made with specific context in order to answer that question.

In this second version I use the Key Metrics widget API and Gemini selects the best widget to show which is a great way to allow the assistant to surface data from across the plugin without having to load this data into it's own context.

Screenshot 2024-09-01 at 13 43 51

In a future update I will import the Site Kit documentation to allow users to ask questions of this.

PR Author Checklist

  • My code is tested and passes existing unit tests.
  • My code has an appropriate set of unit tests which all pass.
  • My code is backward-compatible with WordPress 5.2 and PHP 7.4.
  • My code follows the WordPress coding standards.
  • My code has proper inline documentation.
  • I have added a QA Brief on the issue linked above.
  • I have signed the Contributor License Agreement (see https://cla.developers.google.com/).

Do not alter or remove anything below. The following sections will be managed by moderators only.

Code Reviewer Checklist

  • Run the code.
  • Ensure the acceptance criteria are satisfied.
  • Reassess the implementation with the IB.
  • Ensure no unrelated changes are included.
  • Ensure CI checks pass.
  • Check Storybook where applicable.
  • Ensure there is a QA Brief.

Merge Reviewer Checklist

  • Ensure the PR has the correct target branch.
  • Double-check that the PR is okay to be merged.
  • Ensure the corresponding issue has a ZenHub release assigned.
  • Add a changelog message to the issue.

@benbowler benbowler force-pushed the hackathon/gemini-key-metrics-assistant branch from df984dd to d68224e Compare August 30, 2024 08:43
@benbowler benbowler changed the base branch from develop to poc/memorable-quotes September 1, 2024 12:57
@benbowler benbowler changed the title Prototype of Gemini powered Key Metrics assistant. Gemini powered Site Kit Assistant. Sep 1, 2024
Base automatically changed from poc/memorable-quotes to feature/exp-memorable-quotes September 18, 2024 22:29
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