# content.py
def get_response_format(query_type):
    """
    Defines AI response formatting using HTML for better visual appeal.
    """
    response_templates = {
        "default": "
{response}
",  # Standard paragraph format
        "paragraph": "📝 Detailed Explanation:
{response}
",
        "bullet_points": (
            ""
            "
🔹 Key Points:"
            + "".join([f"- {point.strip()}" for point in "{response}".split("\n") if point.strip()])
            + "
"
            "
📝 Overview:{paragraph}
"
            "
🔹 Key Takeaways:"
            + "".join([f"- {point.strip()}" for point in "{points}".split("\n") if point.strip()])
            + "