How to make AI generate all sorts of documents in different file formats that rely on simple plain text files / json files or the like.
Even though the AI models are usually made for text production, they can also produce output in all sorts of formats. The only prerequisite is, that the file uses plain text internally and that you have an example file as a template for the AI.
Please be aware, that it might need some additional editing.
In this example, I always had to add the opening and closing „map“ tag which the AI ignored. After that, the mindmap opened in freeplane without any problems.
The following chat made GPT write me a mindmap:
Me:
Please generate a mindmap on ecoloygy according to the following template: <map version="1.0.1"> <!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net --> <node CREATED="1238394298687" ID="Freemind_Link_212318331" MODIFIED="1238394306562" TEXT="Das Experiment"> <node CREATED="1238394689046" ID="Freemind_Link_871436694" MODIFIED="1238511787078" POSITION="left"> <richcontent TYPE="NODE"><html> <head> </head> <body> <p> Sinn </p> </body> </html></richcontent> <node CREATED="1238394710562" ID="Freemind_Link_1976322010" MODIFIED="1238394717187" TEXT="Wiederholbarkeit"> <node CREATED="1238394770140" ID="Freemind_Link_509642249" MODIFIED="1238394797140" TEXT="Überprüfung Optimierung"/> </node> <node CREATED="1238394726156" ID="Freemind_Link_1003848615" MODIFIED="1238394745000" TEXT="Erhaltung"> <node CREATED="1238394756140" ID="Freemind_Link_1850284036" MODIFIED="1238394761734" TEXT="nichts geht verloren"/> </node> <node CREATED="1238394751625" ID="Freemind_Link_597140876" MODIFIED="1238394754625" TEXT="Ordnung"> <node CREATED="1238394805250" ID="Freemind_Link_545741486" MODIFIED="1238394839171" TEXT="Strukturierung von Information, Verständnis"/> </node> </node> <node CREATED="1238394693343" ID="Freemind_Link_305751648" MODIFIED="1238394696078" POSITION="right" TEXT="Ablauf"> <node CREATED="1238394309125" ID="_" MODIFIED="1238395175046" TEXT="Planung"> <linktarget COLOR="#b0b0b0" DESTINATION="_" ENDARROW="Default" ENDINCLINATION="-95;-5;" ID="Freemind_Arrow_Link_156726541" SOURCE="Freemind_Link_1891481883" STARTARROW="None" STARTINCLINATION="-95;-5;"/> <node CREATED="1238394364375" ID="Freemind_Link_648816180" MODIFIED="1238394364375" TEXT="Variablen"> <node CREATED="1238394430312" MODIFIED="1238394430312" TEXT="konstant"/> <node CREATED="1238394557203" ID="Freemind_Link_1820705373" MODIFIED="1238394568187" TEXT="variabel"/> <node CREATED="1238394577968" MODIFIED="1238394577968" TEXT="Störvariablen"/> <node CREATED="1238394603156" ID="Freemind_Link_49197264" MODIFIED="1238394628468" TEXT="Messmethode"/> </node> <node CREATED="1238394411140" ID="Freemind_Link_577960336" MODIFIED="1238394411140" TEXT="Hypothese"> <node CREATED="1238394418781" MODIFIED="1238394418781" TEXT="Operationalisieren"/> <node CREATED="1238394486703" MODIFIED="1238394486703" TEXT="beweisen"/> <node CREATED="1238394500125" MODIFIED="1238394500125" TEXT="widerlegen"/> </node> <node CREATED="1238394867531" ID="Freemind_Link_1127471687" MODIFIED="1238394872640" TEXT="Material und Methoden"/> <node CREATED="1238394927140" ID="Freemind_Link_1634819540" MODIFIED="1238394933187" TEXT="Beobachtungsplan"/> <node CREATED="1238394899531" ID="Freemind_Link_1407587738" MODIFIED="1238394910140" TEXT="Auswertungsplan"/> </node> <node CREATED="1238394317000" ID="Freemind_Link_1920234061" MODIFIED="1238394319953" TEXT="Durchführung"/> <node CREATED="1238394321218" ID="Freemind_Link_1955603986" MODIFIED="1238394328140" TEXT="Auswertung"> <node CREATED="1238395114125" ID="Freemind_Link_656656200" MODIFIED="1238395126953" TEXT="Verifikation der Hypothese"/> <node CREATED="1238395128171" ID="Freemind_Link_1966307574" MODIFIED="1238395135968" TEXT="Falsifikation der Hypothese"/> </node> <node CREATED="1238395095609" ID="Freemind_Link_1891481883" MODIFIED="1238395175046" TEXT="Reflexion"> <arrowlink DESTINATION="_" ENDARROW="Default" ENDINCLINATION="-95;-5;" ID="Freemind_Arrow_Link_156726541" STARTARROW="None" STARTINCLINATION="-95;-5;"/> </node> </node> </node> </map>
AI:
Ich kann leider keine Mindmap generieren, da ich nur in Textform antworten kann.
TRANSLATION: I can't generate a mindmap, as I can only reply in plain text.
Me:
The mindmap is in textform, so you can do it.
AI:
I apologize for the confusion earlier. Here is the mindmap on ecology: - Das Experiment - Sinn - Wiederholbarkeit - Überprüfung - Optimierung - Erhaltung - nichts geht verloren - Ordnung - Strukturierung von Information, Verständnis - Ablauf - Planung - Variablen - konstant - variabel - Störvariablen - Messmethode - Hypothese - Operationalisieren - beweisen - widerlegen - Material und Methoden - Beobachtungsplan - Auswertungsplan - Durchführung - Auswertung - Verifikation der Hypothese - Falsifikation der Hypothese – Reflexion
Me:
Please use the template I gave you for the mindmap so that I can open it with freeplane.
AI:
I apologize for the confusion earlier. Here is the mindmap on ecology in the template you provided: <node TEXT="Ecology"> <node TEXT="Das Experiment"> <node TEXT="Sinn"/> <node TEXT="Wiederholbarkeit"> <node TEXT="Überprüfung"/> <node TEXT="Optimierung"/> </node> <node TEXT="Erhaltung"> <node TEXT="nichts geht verloren"/> </node> <node TEXT="Ordnung"> <node TEXT="Strukturierung von Information, Verständnis"/> </node> <node TEXT="Ablauf"> <node TEXT="Planung"> <node TEXT="Variablen"> <node TEXT="konstant"/> <node TEXT="variabel"/> <node TEXT="Störvariablen"/> <node TEXT="Messmethode"/> </node> <node TEXT="Hypothese"> <node TEXT="Operationalisieren"/> <node TEXT="beweisen"/> <node TEXT="widerlegen"/> </node> <node TEXT="Material und Methoden"/> <node TEXT="Beobachtungsplan"/> <node TEXT="Auswertungsplan"/> </node> <node TEXT="Durchführung"/> <node TEXT="Auswertung"> <node TEXT="Verifikation der Hypothese"/> <node TEXT="Falsifikation der Hypothese"/> </node> <node TEXT="Reflexion"/> </node> </node> </node>
Me:
The text attributes for the nodes should fit the topic ecology please. The result is a mindmap.
AI:
Here is the updated mindmap on ecology with text attributes that fit the topic: <node TEXT="Ecology" FONTFAMILY="Arial" FONTSIZE="20"> <node TEXT="Ecosystems" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Biodiversity" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Food webs" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Energy flow" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Nutrient cycling" FONTFAMILY="Arial" FONTSIZE="16"/> </node> <node TEXT="Conservation" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Habitat preservation" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Endangered species protection" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Sustainable development" FONTFAMILY="Arial" FONTSIZE="16"/> </node> <node TEXT="Pollution" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Air pollution" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Water pollution" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Soil pollution" FONTFAMILY="Arial" FONTSIZE="16"/> </node> <node TEXT="Climate change" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Greenhouse gases" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Global warming" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Sea level rise" FONTFAMILY="Arial" FONTSIZE="16"/> </node> </node>
Me:
That's great, can you use more elaborate sub items, please.
AI:
Sure, here's an updated mindmap with more elaborate sub-items: <node TEXT="Ecology" FONTFAMILY="Arial" FONTSIZE="20"> <node TEXT="Ecosystems" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Biodiversity" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Species richness" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Genetic diversity" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Ecosystem diversity" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Food webs" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Producers" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Consumers" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Decomposers" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Energy flow" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Primary productivity" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Trophic levels" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Energy transfer efficiency" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Nutrient cycling" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Carbon cycle" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Nitrogen cycle" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Phosphorus cycle" FONTFAMILY="Arial" FONTSIZE="14"/> </node> </node> <node TEXT="Conservation" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Habitat preservation" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Protected areas" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Habitat restoration" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Land-use planning" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Endangered species protection" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Threatened species" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Conservation breeding" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Reintroduction programs" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Sustainable development" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Renewable energy" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Green infrastructure" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Sustainable agriculture" FONTFAMILY="Arial" FONTSIZE="14"/> </node> </node> <node TEXT="Pollution" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Air pollution" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Particulate matter" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Ozone depletion" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Acid rain" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Water pollution" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Eutrophication" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Toxic chemicals" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Oil spills" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Soil pollution" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Heavy metals" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Pesticides" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Landfills" FONTFAMILY="Arial" FONTSIZE="14"/> </node> </node> <node TEXT="Climate change" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Greenhouse gases" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Carbon dioxide" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Methane" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Nitrous oxide" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Global warming" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Temperature rise" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Melting ice caps" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Ocean acidification" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Sea level rise" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Thermal expansion" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Melting glaciers" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Ice sheet collapse" FONTFAMILY="Arial" FONTSIZE="14"/> </node> </node> </node>
Me:
Could you change the mindmap to focus on environmental factors and ecological potency, trophic levels, population dynamics and material cycles like carbon cycle and nitrogen cycle, and anthropogenic factors influencing ecosystems?
AI:
Sure, here's an updated mindmap based on your request: <node TEXT="Ecology and Environmental Factors" FONTFAMILY="Arial" FONTSIZE="20"> <node TEXT="Ecological Potency" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Trophic Levels" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Producers" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Primary Consumers" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Secondary Consumers" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Tertiary Consumers" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Population Dynamics" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Population Growth" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Population Density" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Population Distribution" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Population Size" FONTFAMILY="Arial" FONTSIZE="14"/> </node> </node> <node TEXT="Material Cycles" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Carbon Cycle" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Photosynthesis" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Respiration" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Decomposition" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Fossil Fuel Combustion" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Nitrogen Cycle" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Nitrogen Fixation" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Nitrification" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Assimilation" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Denitrification" FONTFAMILY="Arial" FONTSIZE="14"/> </node> </node> <node TEXT="Anthropogenic Factors" FONTFAMILY="Arial" FONTSIZE="18"> <node TEXT="Pollution" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Air Pollution" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Water Pollution" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Soil Pollution" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Climate Change" FONTFAMILY="Arial" FONTSIZE="16"> <node TEXT="Greenhouse Gases" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Global Warming" FONTFAMILY="Arial" FONTSIZE="14"/> <node TEXT="Sea Level Rise" FONTFAMILY="Arial" FONTSIZE="14"/> </node> <node TEXT="Deforestation" FONTFAMILY="Arial" FONTSIZE="16"/> <node TEXT="Overfishing" FONTFAMILY="Arial" FONTSIZE="16"/> </node> </node>
...
Now, if you remove the pretext and add the map tag (cf original template I gave GPT) the whole thing will open in the according program (freemind).
I tried the same thing with the abc music notation, too. Even though the AI did NOT write a number one chart hit (what is what I had asked it to do, bad dog, no cookie..!) it came up with a very uninspired fifth-grader's song that could be converted to MIDI and finally played fine in a suitable software.
So, as one could expect, given the right clues text AIs are more than just toys for people with too much time, but can also help to create mindmaps and the like. Go and try for yourself, there are many more text based formats that one could try.