IDinsight / ask-a-question

Trustworthy question-answering AI plugin for chatbots in the social sector with advanced content performance analysis.
https://ask-a-question.com
BSD 3-Clause "New" or "Revised" License
28 stars 4 forks source link

[AAQ-835] Enable LLM-less dashboards #443

Closed markbotterill closed 1 month ago

markbotterill commented 1 month ago

Reviewer: @lickem22 Estimate: 20 mins


Ticket AAQ-835

Fixes: JIRA_TICKET_LINK

Description

Introduces new .env variable DISABLE_DASHBOARD_LLM to toggle P3 behavior. Replace AI_SUMMARY with this new variable to achieve similar effect.

Goal

First step to making an easy-switch LLM-less AAQ

Changes

Changes in backend topic modeling pipeline for topic summaries.

Small frontend bug fixed ("Run discovery" button was overflowing across lines") + enabled line formatting for one frontend box

Future Tasks (optional)

Curate necessary changes required for DISABLE_DASHBOARD_LLM -> DISABLE_LLM to be app-wide. Execute changes.

How has this been tested?

Runs locally + passes GHA tests

Checklist

Fill with x for completed.

(Delete any items below that are not relevant)