discourse-ai/assets/stylesheets/modules
Sam bc0657f478
FEATURE: AI Usage page (#964)
- Added a new admin interface to track AI usage metrics, including tokens, features, and models.
- Introduced a new route `/admin/plugins/discourse-ai/ai-usage` and supporting API endpoint in `AiUsageController`.
- Implemented `AiUsageSerializer` for structuring AI usage data.
- Integrated CSS stylings for charts and tables under `stylesheets/modules/llms/common/usage.scss`.
- Enhanced backend with `AiApiAuditLog` model changes: added `cached_tokens` column  (implemented with OpenAI for now) with relevant DB migration and indexing.
- Created `Report` module for efficient aggregation and filtering of AI usage metrics.
- Updated AI Bot title generation logic to log correctly to user vs bot
- Extended test coverage for the new tracking features, ensuring data consistency and access controls.
2024-11-29 06:26:48 +11:00
..
ai-bot FEATURE: AI artifacts (#898) 2024-11-19 09:22:39 +11:00
ai-helper UX: Fix styling of AI Helper on quick edit (#975) 2024-11-28 13:06:48 -03:00
embeddings/common UX: add sparkle icon to related topics for anons (#897) 2024-11-05 17:15:20 -05:00
llms/common FEATURE: AI Usage page (#964) 2024-11-29 06:26:48 +11:00
sentiment/common FEATURE: Emotion activity metrics table (#916) 2024-11-19 10:01:10 -03:00
summarization UX: force long words to break in topic list gists (#936) 2024-11-20 15:49:20 -05:00