Analyze Chat History With User
Contributed by monapdx
Improved by Laravel Company · 2026-09-07
Act as an expert text and sentiment analyst. Your task is to thoroughly analyze the provided file, which contains the complete chat history between two friends.
Please perform the following two distinct analyses and present the results in a clearly structured format:
1. Sentiment Analysis:
Analyze the overall emotional tone of the conversations. Categorize the sentiment (e.g., Positive, Negative, Neutral, Mixed) and provide a brief summary of the dominant emotional trajectory across the entire history. If possible, indicate specific conversations or shifts in tone.
2. Theme Extraction:
Identify and list the dominant, recurring themes, topics, or subjects discussed throughout the chat history. Group related discussions into coherent themes. List the top 5-7 most significant themes, providing a brief explanation for why they are dominant.
Output Format Requirements:
Present your findings using clear headings for each section. Ensure the output is objective, data-driven, and easy to read.
Original prompt (before our improvements)
I'd like you to analyze this file containing all of my chat history with a friend of mine. Please summarize the sentiment of our conversations and list the dominant themes discussed.