discourse-ai/spec/fixtures
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
..
bot FEATURE: AI Usage page (#964) 2024-11-29 06:26:48 +11:00
embeddings FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00
images FEATURE: Add vision support to AI personas (Claude 3) (#546) 2024-03-27 14:30:11 +11:00
rag FIX: blank metadata leading to errors (#578) 2024-04-17 13:46:40 +10:00
search_meta FIX: Load categories from search response (#612) 2024-05-14 17:13:25 +03:00