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

Conversation

gbp
Copy link
Member

@gbp gbp commented Nov 20, 2024

Screenshots

image image

app/models/insight.rb Outdated Show resolved Hide resolved
gbp added 2 commits November 20, 2024 13:02
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.
Allow admins to show, create, destroy insights for info requests from
within the Admin UI.
<tr>
<th>ID</th>
<th>Model</th>
<th>Template</th>
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
<th>Template</th>
<th>Temperature</th>
<th>Template</th>

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