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

Admin insights #8460

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft

Admin insights #8460

wants to merge 4 commits into from

Commits on Nov 19, 2024

  1. Add ollama-ai gem

    gbp committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    566cc68 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. Add Insight model

    gbp committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    bda3486 View commit details
    Browse the repository at this point in the history
  2. Add InsightJob

    Create InsightJob to process insights asynchronously, triggered from an
    after_commit callback on Insight to queue processing.
    
    Add client and models Insight class methods model which calls out to
    Ollama.
    
    Add prompt generation substituting in the initial request body in place
    of a template variable.
    gbp committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    be95394 View commit details
    Browse the repository at this point in the history
  3. Add Admin::InsightsController

    Allow admins to show, create, destroy insights for info requests from
    within the Admin UI.
    gbp committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    b28f82d View commit details
    Browse the repository at this point in the history