Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Aug 09, 2024
  2. Jun 05, 2024
  3. Mar 11, 2024
  4. Mar 06, 2024
  5. Mar 04, 2024
  6. Feb 26, 2024
  7. Feb 23, 2024
    • Mark Bastian's avatar
      LLMs for Question and Dashboard Titles and Descriptions (#38298) · f90e4db2
      Mark Bastian authored
      
      * Endpoint stubs
      
      * It's alive!!!
      
      The summarization endpoint is live, calling OpenAI, and connected to the `POST "metabot/card/summarize"`. `POST card/` also taps the results.
      
      * Updating prompt
      
      * Updated response shape
      
      * [WIP] working front-end suggest button
      
      * Incorporating viz settings
      
      * add suggest description to save question modal
      
      * Updating prompt
      
      * merge title and description suggestion into one button
      
      * Updating prompt
      
      * Removing dead code
      
      * Removing unused param and fn cleanup
      
      * Fix string comment
      
      * Adding dashboard summary endpoint stubs
      
      * auto-request title and description
      
      * dashboard summary wip
      
      * dashboard summary wip
      
      * dashboard summary wip
      
      * better prompt
      
      * remove dead component
      
      * add suggest description button in dashboard sidebar
      
      * fix dashboard description suggestion request
      
      * better prompt
      
      * swap out button when generating dashboard suggestion
      
      * adding keywords
      
      * adding keywords
      
      * adding keywords
      
      * adding keywords
      
      * polish loading question name and description suggestions
      
      * polish UI for dashboard description suggestion
      
      * Stubbed in usage middleware
      
      * Beginning EE Push
      
      Moved metabot/summarize endpoints to autodescribe/summarize in the ee codebase to push this towards being an ee feature and distinguish it from metabot features.
      
      Added snowplow tracking.
      
      * Isolating EE LLM Code
      
      This change completely separates metabot code from ee llm code.
      
      It also introduces a composable client mechanism for creating LLM clients for different tasks.
      
      * Task-Oriented LLM Refactoring
      
      LLM code is now organized clearly into a directory of tasks. Each ns in the tasks package provides a certain LLM task to be used in the API.
      
      * Adding unit test
      
      * Adding admin UI elements for EE OpenAI key
      
      * prettier on frontend/src/metabase/services.js
      
      * Cleaning up description text
      
      * Updating api calls
      
      * FE stuff -- hiding things when feature not enabled.
      
      * Figuring out linting for snowplow file
      
      * Figuring out linting for snowplow file
      
      * Fixing unit test
      
      * add token feature llm-autodscription
      
      * change added from 0.50 to 0.49
      
      * extract logic from SaveQuestionModal into ee plugin
      
      * extract logic from DashboardInfoSidebar to ee plugin
      
      * Fixing unit test
      
      * tests
      
      * cleaning up code for SaveQuestionModal
      
      * gate llm question name behind openAI key setting
      
      * remove styles from SaveQuestionModal.css
      
      * clean up code for dashboard
      
      * lint
      
      * Enabling triggering based on `:llm-autodescription` feature flag
      
      * Starting to look at using a badge for LLM results (#38797)
      
      * Starting to look at using a badge for LLM results
      
      * WIP - Using an Indicator to show AI "stuff"
      
      * Prototype of LLM with badge/indicator
      
      * Removing dashboard description AI
      
      * Ensuring LLM icon only shows when key is present. Updating icon to newer design. TODO: Put the icon in the right place.
      
      * Cleanup -- still need to figure out how to position the indicator and not collapse the radio when selected.
      
      * Updating save question form with LLM values does not reset form
      
      * Cleanup
      
      * Correct icon placement
      
      * Adding MB branding to star
      
      * add ai icon, tweak display
      
      * Fix z-index, tweak padding
      
      * cleanup
      
      * remove inactive code
      
      * Cleaning llm description task cobwebs out
      
      * fix collection creation
      
      * Cleaning lint and merge errors
      
      * Adding "save-question-modal" test id back in
      
      * Fixing jest test
      
      * Touching a file to unstick CI
      
      * Untouching a file to unstick CI
      
      * Fixing some includes from the rebase.
      
      * eslint fixes
      
      * eslint fixes
      
      * Fixing types
      
      * Using `PLUGIN_IS_EE_BUILD.isEEBuild()` instead of `isEnterprise()`
      
      * Removing dead styling
      
      * Adding test ids and fixing cypress tests
      
      * Fixing e2e tests
      
      * Incorporating feedback
      
      * Update frontend/src/metabase-types/api/settings.ts
      
      Co-authored-by: default avatarJesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
      
      * Update frontend/src/metabase/core/components/EditableText/EditableText.tsx
      
      Co-authored-by: default avatarJesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
      
      * Update frontend/src/metabase/core/components/Input/Input.tsx
      
      Co-authored-by: default avatarJesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
      
      * Update frontend/src/metabase/core/components/TextArea/TextArea.styled.tsx
      
      Co-authored-by: default avatarJesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
      
      * Update frontend/src/metabase/core/components/TextArea/TextArea.styled.tsx
      
      Co-authored-by: default avatarJesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
      
      * Update frontend/src/metabase/dashboard/components/DashboardInfoSidebar/DashboardInfoSidebar.tsx
      
      Co-authored-by: default avatarJesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
      
      * Fixing import
      
      * Rebasing on master to fix conflicts
      
      * Fixing types
      
      * Revert "Update frontend/src/metabase/core/components/EditableText/EditableText.tsx"
      
      This reverts commit fe11817086bff50f90336f30d33a1431cae662c5.
      
      * Revert "Update frontend/src/metabase/core/components/Input/Input.tsx"
      
      This reverts commit eef21407ee32e636a8b4e2594d502d5bbaa36870.
      
      * Revert "Update frontend/src/metabase/core/components/TextArea/TextArea.styled.tsx"
      
      This reverts commit dd1c22b993a6576d92547749d2eb93cb68411585.
      
      * Revert "Update frontend/src/metabase/core/components/TextArea/TextArea.styled.tsx"
      
      This reverts commit b169d05364e92c032ae5b6c972888a86079921e2.
      
      * Fixing e2e tests
      
      * address feedback
      
      * Fixing e2e tests
      
      * Fixing modal for models
      
      ---------
      
      Co-authored-by: default avatarJesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
      Co-authored-by: default avatarEmmad Usmani <emmadusmani@berkeley.edu>
      Co-authored-by: default avatarKyle Doherty <5248953+kdoh@users.noreply.github.com>
      Co-authored-by: default avatarAnton Kulyk <kuliks.anton@gmail.com>
      Co-authored-by: default avatarRyan Laurie <iethree@gmail.com>
      Unverified
      f90e4db2
Loading