{% extends 'base.html' %} {% block content %}

Conversation Sentiment Analysis

Conversation ID: {{ conversation.id }}

{% if sentiment_score is not None %}

Overall Sentiment Score: {{ sentiment_score|floatformat:2 }}

{% if sentiment_score > 0.5 %}

This conversation has a very positive sentiment.

{% elif sentiment_score > 0 %}

This conversation has a somewhat positive sentiment.

{% elif sentiment_score == 0 %}

This conversation has a neutral sentiment.

{% elif sentiment_score > -0.5 %}

This conversation has a somewhat negative sentiment.

{% else %}

This conversation has a very negative sentiment.

{% endif %} {% else %}

Sentiment analysis has not been performed on this conversation yet.

{% endif %} Back to Conversation {% endblock %}