GPT Cookbook | Quick Table of Contents (Hierarchical Summary)

Blog
2 min readSep 17, 2023

Whether you work in Healthcare, Law, Information Technology, Automotive, Educational, or simply someone who loves playing around with OpenAI’s ChatGPT, enhancing your output for the most readability is a must.

Let me introduce a neat Prompt Hack for GPT Models with OpenAI: du and tree. These commands are indispensable to explore directories in a Linux, or Windows environment. The file and folder structures are displayed.

tree /f command in PowerShell

The best way to display this structure with the GPT output is to simply ask the following:

“Display the output in the PowerShell `tree /f` structure”

Or you could ask

“Display the output using the Unix `du -a` structure”

Brilliant summaries will appear for whatever your heart desires. Enjoy!

Example:

How do I start an organization? Display the output using the Unix `du -a` structure.

Starting an Organization: A Step-By-Step Guide in du -a Format

Introduction

Starting an organization is an intricate process that involves a myriad of steps. Each step can be considered a “file” or a “folder” in your organizational “directory.” Let’s map out the steps to start an organization, using a directory-like structure similar to the output of the du -a Unix Shell command. This hierarchical format will help you understand the steps and sub-steps needed to successfully launch an organization.

Directory Structure for Starting an Organization

|-- Starting_Organization
|-- 1_Research
| |-- 1.1_Market_Research
| |-- 1.2_Competitive_Analysis
| `-- 1.3_Organization_Type
|-- 2_Business_Plan
| |-- 2.1_Executive_Summary
| |-- 2.2_Mission_Statement
| |-- 2.3_Financial_Plan
| `-- 2.4_Operational_Plan
|-- 3_Funding
| |-- 3.1_Bootstrapping
| |-- 3.2_Investors
| `-- 3.3_Grants_and_Loans
|-- 4_Legal_Structure
| |-- 4.1_Business_Type
| |-- 4.2_Register_Name
| |-- 4.3_Licenses_and_Permits
| `-- 4.4_Tax_ID
|-- 5_Team
| |-- 5.1_Co-founders
| |-- 5.2_Advisors
| `-- 5.3_Hiring
`-- 6_Launch
|-- 6.1_Website
|-- 6.2_Marketing
`-- 6.3_Grand_Opening

--

--