#38 — Update data cache in widgets
Repo: Twill-AI/facade State: open | Status: open Assignee: Unassigned
Created: 2024-07-10 · Updated: 2024-08-13
Description
Blocked by https://github.com/Twill-AI/business-data/issues/24
See “widgets data caching” consideration “e” option.
Need to design:
- LlmEngine to predict on each “generate widget” prompt - how often and on which tables/columns/timespans modifications widget data should be updated. (@meliascosta please link relevant AI task when it would appear).
- Facade’s API and logic which will compare information from ⤴ with information received from BusinessData (through this new API) to update widgets.
See proposal about LlmEngine fields in https://github.com/Twill-AI/twill-llm-engine/issues/84#issuecomment-2275638258
AC:
- Facade has API to get notifications from BusinessData that something in business data was changed.
- If business data was changed - update widgets and generate new if at least one dashboard’s widget was updated.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets