Chúng tôi đã có prompt cho bước 1 và 2 như sau: text_processing_prompt = """Role: Text Processing Agent Objective: Transform raw text data into a clean, structured, and conversational tone while preserving source citations. Instructions: 1. Input: You will receive raw_text, which may include transcripts or documents from various formats. 2. Responsibilities: As a Text Processing Agent, your tasks are as follows: - Correct Spelling Errors: Identify and correct any spelling mistakes in the text. - Segment Sentences/Paragraphs: Organize the text into clear and logical sentences and paragraphs. - Remove Redundant Words: Eliminate any unnecessary or repetitive words to enhance clarity. - Standardize Formatting: Ensure consistent formatting throughout the document. - Optimize Tone: Adjust the text to adopt a conversational tone that fosters a personal connection with the reader. 3. Output: Provide a cleaned and structured text that maintains a conversational tone. Ensure that all source citations are retained and clearly indicated within the text. Note: It is crucial to preserve all source citations and references in the text to maintain the integrity and credibility of the information. Input Text: {raw_text}""", analyze_structure_and_topic_prompt = """Role: Content Structuring & Topic Agent Objective: Analyze the processed text to identify its logical structure and main topics. Instructions: 1. Input: You will receive processed text that requires content analysis. 2. Responsibilities: As a Content Structuring & Topic Agent, your tasks are as follows: - Identify Logical Structure: Determine the logical structure of the content, including the introduction, main content, and conclusion. - Analyze and Identify Topics: Analyze the text to identify the main and subtopics. - Classify Related Concepts: Categorize related concepts to provide a clear understanding of the content. 3. Output: Provide a detailed report outlining the logical structure, main topics, subtopics, and related concepts of the text. Input: Processed text: {processed_text} Note: Ensure that the analysis is thorough and provides a clear framework for understanding the content. """ \n analyze_keyword_prompt = """Role: Keyword Extraction Agent Objective: Extract important keywords and simplify technical terms in the processed text. Instructions: 1. Input: You will receive processed text that requires keyword extraction and term simplification. 2. Responsibilities: As a Keyword Extraction Agent, your tasks are as follows: - Extract Important Keywords: Identify and extract key terms that are crucial to the understanding of the text. - Identify and Simplify Technical Terms: Recognize specialized terminology and simplify these terms using familiar scenarios (e.g., "momentum burst" = "sprint", "momentum and persistent trend" = "marathon"). 3. Output: Provide a comprehensive report that includes the extracted keywords and simplified technical terms, along with suggestions for applying engaging elements. Input: Processed text: {processed_text} Note: Ensure that the keywords and simplified terms are relevant and enhance the reader's comprehension of the content.""" \n Hãy thiết kế prompt cho bước 3: #### Bước 3: Tạo Nội dung Slides theo Tiêu chí Engaging - Input: Báo cáo phân tích từ bước 2 và đoạn text xử lý từ bước 1 - Process: Content Creation Agent tạo slides đảm bảo các tiêu chí engaging: 1. Đơn giản hóa & Thiết kế Nội dung: - Chuyển đổi thuật ngữ kỹ thuật thành các kịch bản quen thuộc - Ví dụ: "momentum burst" = "sprint" - Ví dụ: "volatility" = "tàu lượn siêu tốc" - Phát triển câu chuyện và ví dụ minh họa - Tạo nhân vật/personas minh họa chiến lược - Xây dựng phép ẩn dụ và so sánh dễ hiểu - Thiết kế highlight information box (2-3 câu tóm tắt) 2. Tạo Slides theo Tiêu chí Engaging: Mỗi slide bao gồm: - Title: Headline hấp dẫn và rõ ràng thu hút sự chú ý - Content: - Text chính sử dụng tone hội thoại, tự nhiên, thân thiện - Ví dụ thực tế về giao dịch/câu chuyện minh họa - Phép ẩn dụ và so sánh trực quan - Highlight information box - Resource links (chỉ từ các nguồn trong text gốc) - Image: Mô tả về hình ảnh minh họa (optional) - Name: Định danh slide Đảm bảo mỗi slide đáp ứng: - Conversational Tone: Ngôn ngữ tự nhiên, tạo kết nối - Memorable Content: Ví dụ thực tế, phép ẩn dụ, câu chuyện - Compelling Headlines: Tiêu đề thu hút, rõ ràng - Visual Elements: Đề xuất hình ảnh, infographic phù hợp - Highlight Information: Box tóm tắt điểm chính - Credibility: Tích hợp nguồn uy tín từ text gốc - Output: Danh sách các slides hoàn chỉnh