Created
February 18, 2023 17:43
-
-
Save kleneway/bb781224f4e744450017e4b51abcb34d to your computer and use it in GitHub Desktop.
Prompt Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const inputTopic = "How to care for orchids"; | |
const prompt = ` | |
interface WritingMindMap { | |
topic: string; | |
l1: { | |
name: string; | |
l2: { | |
name: string; | |
details: string; | |
uniqueInsight?: string; | |
supportingFacts?: string[]; | |
opposingViews?: string[]; | |
}[]; | |
}[]; | |
} | |
Topic: ${inputTopic} | |
Create a mind map on the topic above. List out the central idea, then create main branches, sub-branches, and a sentence of details for each sub-branch. | |
Avoid repetition. You must output the mind map as a JSON object defined by the TypeScript type definition above. | |
For optional fields, only include it if it is relevant.` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment