diff --git a/config/config.py b/config/config.py index 8a6c960..8c1045a 100644 --- a/config/config.py +++ b/config/config.py @@ -75,8 +75,8 @@ class Config(object): # supported LLMs # SUPPORTED_EMBEDDINGS = ['openai.text-embedding-3-small', 'openai.text-embedding-3-large', 'mistral.mistral-embed'] SUPPORTED_EMBEDDINGS = ['mistral.mistral-embed'] - SUPPORTED_LLMS = ['openai.gpt-4o', 'anthropic.claude-3-5-sonnet', 'openai.gpt-4o-mini', - 'mistral.mistral-large-latest', 'mistral.mistral-small-latest'] + SUPPORTED_LLMS = ['openai.gpt-4o', 'openai.gpt-4o-mini', + 'mistral.mistral-large-latest', 'mistral.mistral-medium_latest', 'mistral.mistral-small-latest'] ANTHROPIC_LLM_VERSIONS = {'claude-3-5-sonnet': 'claude-3-5-sonnet-20240620', } diff --git a/config/prompts/global/html_parse/1.0.0.yaml b/config/prompts/global/html_parse/1.0.0.yaml index 4cacd7f..74a4848 100644 --- a/config/prompts/global/html_parse/1.0.0.yaml +++ b/config/prompts/global/html_parse/1.0.0.yaml @@ -13,7 +13,7 @@ content: | HTML is between triple backquotes. ```{html}``` -model: "mistral.mistral-small-latest" +llm_model: "mistral.mistral-small-latest" metadata: author: "Josako" date_added: "2024-11-10" diff --git a/eveai_app/templates/entitlements/view_active_license_usage.html b/eveai_app/templates/entitlements/view_active_license_usage.html new file mode 100644 index 0000000..4fa43b1 --- /dev/null +++ b/eveai_app/templates/entitlements/view_active_license_usage.html @@ -0,0 +1,138 @@ +{% extends 'base.html' %} +{% from "macros.html" import render_selectable_table, render_pagination %} + +{% block title %}Active License Usage{% endblock %} + +{% block content_title %}Active License Usage{% endblock %} +{% block content_description %}Overview of the current license period usage{% endblock %} + +{% block content %} +{% if active_period and active_period.license_usage %} +
License ID: {{ active_period.license.id }}
+License Name: {{ active_period.license.name }}
+Period Nr: {{ active_period.period_number }}
+Start Date: {{ active_period.period_start }}
+End Date: {{ active_period.period_end }}
+Status: {{ active_period.status.value }}
+Max Storage: {{ active_period.max_storage_mb }} MB
+Included Embedding: {{ active_period.included_embedding_mb }} MB
+Included Interaction Tokens: {{ active_period.included_interaction_tokens }}
+Overage Storage Allowed: {{ active_period.additional_storage_allowed }}
+Overage Embedding Allowed: {{ active_period.additional_embedding_allowed }}
+Overage Interaction Allowed: {{ active_period.additional_interaction_allowed }}
+{{ usage_data.storage_used_rounded or 0.0 }} / {{ active_period.max_storage_mb or 0 }} MB
+{{ usage_data.embedding_used_rounded or 0.0 }} / {{ active_period.included_embedding_mb or 0 }} MB
+{{ usage_data.interaction_used_rounded or 0.0 }} / {{ active_period.included_interaction_tokens or 0 }} M tokens
+