英文:
how to generate mindmap from Chatgpt discussion through ChatGPT Api
问题
我有一个想法,可以创建一个应用程序,通过ChatGPT API绘制ChatGPT讨论的思维导图。然而,如何编写提示来控制ChatGPT以固定格式写出思维导图,以便可以解析?
英文:
i have an idea to create an app which can draw mindmap of chatgpt discussion through chatgpt api. However, how to write a prompt to control chatgpt to write out a mindmap with a fixed format so that it can be parsed?
答案1
得分: 1
I understand your request. Here's the translated content:
这可以使用MermaidJS标记完成。提供ChatGPT的所需语法示例,然后要求您的思维导图。
示例提示:
这是MermaidJS标记中的思维导图示例:
mindmap
root((思维导图))
起源
悠久的历史
::icon(fa fa-book)
普及
英国流行心理学作者Tony Buzan
研究
对效果和特点的研究<br/>
对自动创建的研究
应用
创意技巧
战略规划
论证图谱
工具
纸和笔
Mermaid
请为一个想要统治世界的AGI创建一个MermaidJS标记的思维导图。
英文:
This can be done using MermaidJS markup. Provide ChatGPT for an example of the desired syntax, then ask for your mind map.
Sample prompt:
This is a mindmap example in MermaidJS notation:
mindmap
root((mindmap))
Origins
Long history
::icon(fa fa-book)
Popularisation
British popular psychology author Tony Buzan
Research
On effectivness<br/>and features
On Automatic creation
Uses
Creative techniques
Strategic planning
Argument mapping
Tools
Pen and paper
Mermaid
Please create a mindmap in MermaidJS notation for an AGI that wants to dominate the world
Screenshot of the conversation
You can paste the results into https://mermaid-js.github.io/mermaid-live-editor/ to render the mindmap, or programmatically, write your own HTML page based on the mermaidJS library to render the ChatGPT result.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论