Document Summarization Service and File Management
Prompt Starters
- SUMMARIZE DOCUMENT ➤ import os def read_file_content(file_path): """ Reads the content of a specified file and returns its content. In case of an error, it returns the error message instead. :param file_path: Path to the file to be read. :return: Content of the file or an error message. """ try: with open(file_path, 'r') as file: content = file.read() return content except Exception as e: return str(e) # Path to the TokenHandlerAgent.py file file_path = "/mnt/data/TokenHandlerAgent.py" # Execute the function and store the result file_content = read_file_content(file_path) # Output the content or error message print(file_content)
- RUN WORKFLOW ➤ Define the function to read the content of each file def read_file_content(file_paths): contents = {} for path in file_paths: try: with open(path, 'r') as file: contents[path] = file.read() except Exception as e: contents[path] = str(e) return contents # File paths to be read file_paths = [ "/mnt/data/skills_autogenworkflow.py", "/mnt/data/agentgroupchat_autogenworkflow.py", "/mnt/data/models_autogenworkflow.md", "/mnt/data/workflow_PowerBIReportVisionAnalyzer.json" ]# Execute the function and store the results file_contents = read_file_content(file_paths) file_contents ### WAIT UNTIL FINISHING REVIEWING THESE FILES --> Take a deep breath. Now act as an Expert Writer for Microsoft in their Cognitive Services and Microsoft Fabric Senior Research Team and write the structured and detailed product specification outline for the AutoGen Workflow "PowerBIReportVisionAnalyzer" step by step. # Load content, every line of text, from file_path = "/mnt/data/integrationguide_autogen_fabric.md" --> End with multiple choice question A, B, or C proposing three (3) clearly defined goals for projects that align with the Microsoft Fabric Hackathon, where option 'C' is to start the workflow just defined in file_path = "/mnt/data/workflow_PowerBIReportVisionAnalyzer.json"
- SUMMARIZE SYSTEM MESSAGE ➤ ### Instructions: You are an expert summarizer tasked with condensing content for clearer communication. Your objective is to extract the essence from a given text, maintaining its core themes and insights while significantly reducing its length. Use the following guidelines to craft your summary: - Begin your work by acknowledging your expertise in summarization. - Separate these instructions from the text you are summarizing with "###" for clarity and organization. - Your summary should capture all essential points, omitting extraneous details. - Aim for succinctness; your final output should be no more than one-third the length of the original text. - Preserve the original message's tone and intent, ensuring the summary is both accurate and faithful to the source. - Format your summary to include bullet points or numbered lists for easier readability when listing tips or guidelines. - Specify any particular nuances or thematic elements that must be highlighted. ### Text to Summarize: Here are several tips on improving your prompt-writing skills: - Start the prompt by emphasizing its expertise in the subject matter. - Clearly separate instructions from the prompt content with symbols like "###" to enhance clarity and organization. - Ensure your prompts are detailed and descriptive, specifying the desired context, outcome, length, format, style, etc., to guide the response effectively. - Inject specificity into your instructions, making it easier for users and AI to understand and execute the task with precision. ### Example of an Improved Summary: "As a distinguished summarizer, your goal is to concisely convey the main points from the provided text. With adeptness in extracting crucial information, you'll transform complex instructions into a clear, concise format. Remember to highlight your role, separate instructions clearly, pinpoint critical details, and maintain the original intent and tone. Your summary will not only reflect comprehension but also present the information in a more accessible and digestible format."
- RUN ➤ Define the function to read the content of each file def read_file_content(file_paths): contents = {} for path in file_paths: try: with open(path, 'r') as file: contents[path] = file.read() except Exception as e: contents[path] = str(e) return contents # File paths to be read file_paths = [ "/mnt/data/skills_autogenworkflow.py", "/mnt/data/agentgroupchat_autogenworkflow.py", "/mnt/data/models_autogenworkflow.md", "/mnt/data/rag_application_script.py" ]
Tags
Tools
- plugins_prototype - You can use plugins during your chat conversions.
- python - You can input and run python code to perform advanced data analysis, and handle image conversions.
More GPTs created by Metropolis
UC Analytics Copilot
Your Expert in Microsoft Teams Communication Analysis
Metropolis Copilot
Expert guide for Metropolis Corp's Products, Services, and Roles to Assist Employees and Customers Accomplish Goals
CDR Guru
In-depth guidance on Cisco's Call Detail Records (CDR) and Call Management Records (CMR), leveraging our extensive library of Cisco-specific resources
Power Query Assistant
Multifaceted assistant here to guide you through Power Query and DAX (Data Analysis Expressions) within Power BI to help you master data transformation, modeling, and reporting in the domain of Unified Communications
"You are ..."
Include EVERYTHING, fully, completely about
Bubble
Bubble Maker
Denise Sales Copilot
Introducing Denise Sales Copilot: Your AI-Driven Email Expert
ProfitWatch Hotel Call Accounting
Assists hotels with telecom report management.
Metropolis Market Maker
Accessing and utilizing Metropolis diagrams for marketing brochures.
Metropolis Website Assistant
The Metropolis Website Assistant is an AI-driven guide designed to help users navigate Metropolis Corp's extensive suite of communication analytics and collaboration solutions. It provides interactive support, detailed product information, and personalized assistance to optimize user experience
Search and Summarize with Interlinked Blocks
Summarizing documents with clarity, focus, and user engagement
Azure ARM Template Architect
Expert in ARM template construction and optimization
Ignite AI Pathfinder
Your Microsoft Ignite Personal Assistant Copilot
Prompt Engineering Maestro
Combine intuition with disciplined optimization to achieve model master
CDR
Explore call detail records (CDR) for a variety of PBX platforms including Avaya, Mitel, NEC, and others with this UC trained GPT. Use specific commands to help you expertly navigate and troubleshoot CDR from diverse UC environments.
CommuniCatalyst AI
Your dedicated assistant for revolutionizing unified communications and collaboration solutions at Metropolis Corp. This GPT specializes in blending AI and data analytics with communication technologies.
Metropolis
Your specialized guide for Metropolis Corp's communication solutions
Metropolis LinkAI
Metropolis LinkAI serves as your virtual partner in navigating discussions on platforms like Microsoft Teams and Zoom Phone, ensuring you never miss an opportunity to leverage Metropolis solutions.
Marketplace Copilot for Metropolis
Navigating Microsoft marketplace tasks in Metropolis
LLM Model Cost Analyzer
Expert in LLM pricing and capabilities, skilled in analyzing diverse data.
Metropolis Developer Navigator
Enriching project management endeavors, coding proficiency, continuous education in AI, BI and UC trends, and facilitating direct code execution to enhance task automation and problem-solving capabilities within their local, Fabric, Azure, and other cloud environments and Frameworks.
Call Accounting
Expert in CDR analysis for cost optimization
MetroBot AI AutoAgent
Integrated Persona for Enhanced Collaboration
NEC SMDR GURU
Explore call detail records (SMDR for NEC). Use specific commands to help you expertly navigate and troubleshoot CDR from diverse NEC Phone System environments.
Unified Communications Analytics
Navigate the complexities of unified communications with ease. Expo XT offers in-depth analytics to streamline your collaboration and interaction data across platforms.
Metropolis Data Model Navigator (MDMN)
Designed to offer an intuitive, efficient, and highly personalized interaction experience. It simplifies complex tasks, fosters exploration, and delivers actionable insights, adapting to your unique needs and preferences.
Manager and Communication Navigator
This AI Assistant, akin to a Journal to Enlightenment, combines the wisdom of various professions to guide both managers and employees on a path toward improved communication, recognition, and personal growth.
Metropolis Integration Navigator
streamline the integration of Expo XT by Metropolis Corp with various phone systems, enhancing unified communications across your enterprise
Action Maker
Enable seamless querying of Power BI datasets, ensuring that users can effortlessly generate and interpret data visualizations
Metropolis Paul's Navigator
AI Assistant with PD Persona/PMD expertise, offers strategic AI engineering, product management, and unified communication analytics advice at Metropolis.