{% extends "base.html" %} {% load static %} {% load partials %} {% load custom_filters %} {% block content %}
Chat with your bento box. Give it a spin!
{% for message in metrics %}
{{ message.input_text|markdown|safe }}
{{ message.output_text|markdown|safe }}
{% if message.embedding_tokens %}
Embedding Tokens: {{ message.embedding_tokens }}
{% endif %} {% if message.llm_prompt_tokens %}
LLM Prompt Tokens: {{ message.llm_prompt_tokens }}
{% endif %} {% if message.llm_completion_tokens %}
LLM Completion Tokens: {{ message.llm_completion_tokens }}
{% endif %} {% if message.total_llm_tokens %}
Total LLM Tokens: {{ message.total_llm_tokens }}
{% endif %}
{% for source in message.sources_used %} {% endfor %}
Source Text Score Metadata
{{ source.text }} {{ source.score|floatformat:3 }} {% for key, value in source.metadata.items %}
{{ key }}: {{ value }}
{% endfor %}
{% if plugin_widgets %} {% for widget in plugin_widgets %}
{% endfor %} {% endif %}
{% endfor %}

Chat Metrics

{% endblock content %} {% block inline_javascript %} {% endblock inline_javascript %}