Skip to content

Commit

Permalink
explain: add disclaimer
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Tomecek <[email protected]>
  • Loading branch information
TomasTomecek authored and jpodivin committed Jan 14, 2025
1 parent 364ef89 commit ff9f296
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontend/src/app/prompt/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,15 @@
(reset! prompt-value value)
(send)))

(defn disclaimer []
[:div {:class "alert alert-warning text-left" :role "alert"}
[:p (str "Welcome to the new experimental functionality of Log Detective, thank you for your interest!")]
[:p (str "This is our initial prototype that will 'Explain' a log of your choice to you. It has several limitations:")]
[:ol
[:li (str "The inference is slow and serial. We can only process a single request in the background. It will take at least 30 seconds to give you a response. In case of multiple requests, it can ramp up to minutes.")]
[:li (str "We use a general-purpose mistral model in the background. The collected data are not being used here just yet. We are still working on fine-tuning our own model.")]
[:li (str "Please report any issues you'll encounter. We don't have any alerting in place, the deployment is highly experimental.")]]])

(defn prompt-only []
[:div {:id "content-narrow" :class "container"}
[:section
Expand All @@ -210,6 +219,7 @@
{:class "lead text-body-secondary"}
(str "Trying to improve RPM packaging experience by analyzing build "
"logs and explaining the failure in simple words.")]
(disclaimer)

[:div {:class "py-4"}
(prompt-form)]]]]
Expand Down

0 comments on commit ff9f296

Please sign in to comment.