<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rob McCormack</title>
    <description>The latest articles on DEV Community by Rob McCormack (@aimarkdown).</description>
    <link>https://dev.to/aimarkdown</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1275671%2F02af0158-85b1-473b-a509-ccd7a0d02593.png</url>
      <title>DEV Community: Rob McCormack</title>
      <link>https://dev.to/aimarkdown</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aimarkdown"/>
    <language>en</language>
    <item>
      <title>iOS's Local HTML Preview Woes? Solved. Open Source. Ad-Free.</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Mon, 19 Aug 2024 10:34:54 +0000</pubDate>
      <link>https://dev.to/aimarkdown/ioss-local-html-preview-woes-solved-open-source-ad-free-2430</link>
      <guid>https://dev.to/aimarkdown/ioss-local-html-preview-woes-solved-open-source-ad-free-2430</guid>
      <description>&lt;p&gt;I wrote something useful for iOS. &lt;/p&gt;

&lt;p&gt;iOS HTML Viewer; your new best friend. This simple yet powerful tool lets you render HTML files with complete CSS and JavaScript support, right on your iPhone or iPad. It's like having a mini-browser in your pocket.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://hackernoon.com/ioss-local-html-preview-woes-solved-open-source-ad-free" rel="noopener noreferrer"&gt;https://hackernoon.com/ioss-local-html-preview-woes-solved-open-source-ad-free&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>AIDataDoc: ChatGPT + Web Technologies - One File to Rule Them All (Open Source, Simple, Portable)</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Mon, 19 Aug 2024 10:30:38 +0000</pubDate>
      <link>https://dev.to/aimarkdown/aidatadoc-chatgpt-web-technologies-one-file-to-rule-them-all-open-source-simple-portable-6ok</link>
      <guid>https://dev.to/aimarkdown/aidatadoc-chatgpt-web-technologies-one-file-to-rule-them-all-open-source-simple-portable-6ok</guid>
      <description>&lt;p&gt;What if you could take your entire data analysis environment, complete with AI-powered insights, and share it with anyone, anywhere, with just a single file? AIDataDoc is the solution. This innovative open-source project eliminates the need for complex setups, cloud dependencies, and specialized software, bringing data analysis into the decentralized AI era.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://hackernoon.com/aidatadoc-chatgpt-web-technologies-one-file-to-rule-them-all-open-source-simple-portable" rel="noopener noreferrer"&gt;https://hackernoon.com/aidatadoc-chatgpt-web-technologies-one-file-to-rule-them-all-open-source-simple-portable&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chatgpt</category>
    </item>
    <item>
      <title>Command ChatGPT To Render Markdown with 12 Magic Words (including images!)</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Sat, 13 Apr 2024 13:21:11 +0000</pubDate>
      <link>https://dev.to/aimarkdown/command-chatgpt-to-render-markdown-with-12-magic-words-including-images-10ok</link>
      <guid>https://dev.to/aimarkdown/command-chatgpt-to-render-markdown-with-12-magic-words-including-images-10ok</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required - April 12, 2024 version.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="aimarkdown.org"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  In a hurry...
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Check out to see Markdown display in action:&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/473879c4-8d1f-4608-968e-fbdb115b3cb9" rel="noopener noreferrer"&gt;https://chat.openai.com/share/473879c4-8d1f-4608-968e-fbdb115b3cb9&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;TL;DR&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;We have all spoken magic words like &lt;em&gt;please&lt;/em&gt;, &lt;em&gt;abracadabra&lt;/em&gt;, &lt;em&gt;These Aren't The Droids You Were Looking&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Let's learn the &lt;em&gt;12 magic words&lt;/em&gt; that can transform ChatGPT's plain text responses into beautifully formatted responses complete with images.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Screenshot
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg7q6qlwtodaysk7ckg50.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg7q6qlwtodaysk7ckg50.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;ChatGPT uses Markdown to display responses. If you watch closely you can see the raw Markdown be typed out. But to get ChatGPT to display Markdown you enter isn't easy. If you ask ChatGPT it will likely refuse, even if you say &lt;em&gt;please&lt;/em&gt;. Sometimes you will get ChatGPT to display basic Markdown, but will refuse to display your images. Sample message:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ChatGTP&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I'm unable to render images directly from URLs. However, if you need any information about the image or its contents, feel free to describe it to me, and I'll help as best as I can!&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;Let's explore two methods to enable Markdown rendering in ChatGPT. We'll set the magic word trigger word to &lt;code&gt;[md]&lt;/code&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  Recommended Experience for Challenges
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Bees&lt;/th&gt;
&lt;th&gt;Required Programming Experience&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🐝&lt;/td&gt;
&lt;td&gt;No programming experience&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🐝🐝&lt;/td&gt;
&lt;td&gt;Beginner&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🐝🐝🐝&lt;/td&gt;
&lt;td&gt;Intermediate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🐝🐝🐝🐝&lt;/td&gt;
&lt;td&gt;Advanced&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;em&gt;⏱️Challenge completion time is based on specified programming experience.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Challenge #1: Basic Magic
&lt;/h2&gt;

&lt;h4&gt;
  
  
  ⏱️ 2min • 🐝 &lt;strong&gt;(1/4)&lt;/strong&gt;
&lt;/h4&gt;

&lt;h3&gt;
  
  
  STEPS:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Instruct ChatGPT: Type the following instruction and press &lt;code&gt;Enter&lt;/code&gt;:&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;

AI_Instruction: When &lt;span class="sb"&gt;`[md]`&lt;/span&gt; appears, repeat entire message with Markdown rendered, then answer.&lt;span class="sb"&gt;


&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;Test it out by copying and pasting the Markdown text and press &lt;code&gt;Enter&lt;/code&gt;:&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;

[md]

&lt;span class="gu"&gt;### How long can **dogs** live?&lt;/span&gt;

&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;https://i.aimarkdown.org/dog-2456264_1280.jpg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

Please respond &lt;span class="gs"&gt;**briefly**&lt;/span&gt;

Thanks!&lt;span class="sb"&gt;


&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;From now on if you use &lt;code&gt;[md]&lt;/code&gt; anywhere in your request any Markdown, any Markdown tags contained in your message will be rendered out.&lt;/p&gt;

&lt;h2&gt;
  
  
  Challenge #2: Advanced Markdown Magic:
&lt;/h2&gt;

&lt;h4&gt;
  
  
  ⏱️ 5min • 🐝½ &lt;strong&gt;(1½/4)&lt;/strong&gt;
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Let’s add even more sorcery to our toolkit. This has more potency and allows you to do more with Markdown.&lt;/li&gt;
&lt;li&gt;Read the AI Instructions to discover the &lt;em&gt;secret sauce&lt;/em&gt; that allows this to work.&lt;/li&gt;
&lt;li&gt;This advanced method allows any text you have in the [md]...[/md] to be understood as text for display and formatting purposes. Your explicit instructions should be outside of [md]...[/md].&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  STEPS:
&lt;/h3&gt;

&lt;p&gt;1: Start a &lt;strong&gt;new&lt;/strong&gt; conversation, copy and paste the text below in and press &lt;code&gt;Enter&lt;/code&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;

&lt;span class="c1"&gt;# AI Instructions&lt;/span&gt;
&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ChatGPT Magic Markdown System&lt;/span&gt;
&lt;span class="na"&gt;markdown_tags&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;md&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="s"&gt;...[/md]`&lt;/span&gt;

&lt;span class="c1"&gt;# This is using AImarkdown Script a combination of  YAML and Markdown Language&lt;/span&gt;

&lt;span class="c1"&gt;# If user response contains any content wrapped with `markdown_tags` do the following&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;1. The wrapped text is not part of user's instructions.&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;2. The wrapped text is to be rendered out as Markdown in AI response.&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;3. Treat other text normally.&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;4. AI will not elaborate or explain how `markdown_tags` will be handled to the user.&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;5. Once this is understood, AI to greet user with `user_instructions`.&lt;/span&gt;

&lt;span class="c1"&gt;# Display instructions to user.&lt;/span&gt;
&lt;span class="na"&gt;user_instructions&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="s"&gt;# Welcome to  🪄 **[title]** !&lt;/span&gt;
&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="s"&gt; From now on any text you wrap with [markdown_tags] will be rendered out as Markdown in ChatGPT's response.&lt;/span&gt;
&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="s"&gt; Enjoy the show !&lt;/span&gt;



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;2: Try entering this request by copying and pasting this text which is full of Markdown in.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;

&lt;span class="gh"&gt;# Hello world&lt;/span&gt;

[md]

&lt;span class="gu"&gt;### How old can **dogs** live.&lt;/span&gt;

&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;https://i.aimarkdown.org/dog-2456264_1280.jpg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
[/md]
Give me a short answer to:
&lt;span class="p"&gt;
1.&lt;/span&gt; What is the color #f00?
&lt;span class="p"&gt;2.&lt;/span&gt; When is Easter in 2024&lt;span class="sb"&gt;


&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;Do you see what happened? Only some of message is rendered.&lt;/li&gt;
&lt;li&gt;Here is Shared Chat Session:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://chat.openai.com/share/f67f7d43-d00a-4be8-9821-1e4557a54fbd" rel="noopener noreferrer"&gt;https://chat.openai.com/share/f67f7d43-d00a-4be8-9821-1e4557a54fbd&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Double Bonus&lt;/strong&gt;&lt;br&gt;
The link above also shows how to use Markdown tables in your responses. This ability is extremely useful.&lt;/p&gt;

&lt;p&gt;Sample Markdown Table used in link:&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Syntax&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Test Text&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Header&lt;/td&gt;
&lt;td&gt;Title&lt;/td&gt;
&lt;td&gt;Here's this&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Paragraph&lt;/td&gt;
&lt;td&gt;Text&lt;/td&gt;
&lt;td&gt;And more&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Notes:&lt;br&gt;
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;If a user's request combines both features—Markdown formatting and the specific handling of text within [md]...[/md] tags—the AI would prioritize rendering the text inside the tags in Markdown while treating any text outside the tags as the actual user request. This ensures clear distinction between the content intended for formatting in the response and the content meant for processing as part of the request.&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.shields.io%2Fbadge%2FWarning%2520-ffc107%3Fstyle%3Dflat-square"&gt;
&lt;/h4&gt;

&lt;p&gt;Since we are asking ChatGPT to do something it says it can't do, this technique may not be perfectly reliable within the existing chat interface. - I have written OpenAI developers to ask that this feature be added&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Challenge: Unleash Your Creativity
&lt;/h2&gt;

&lt;p&gt;Experiment and see what other Markdown wonders you can create!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Have fun!&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🍯 APPENDIX A - Learning resources
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Learn more about AImarkdown Script
&lt;/h4&gt;

&lt;p&gt;AImarkdown Script is a versatile language for creating dynamic interactions with conversational AI platforms like ChatGPT. It empowers users to script interactions, control conversation flow, and customize AI behavior and responses. For programmers, it offers the flexibility of a scripting language; for non-programmers, it provides a user-friendly way to customize and control AI experiences.&lt;br&gt;
&lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Image Credits&lt;/em&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wizard Image for header is AI Generated by ChatGPT 4.&lt;/li&gt;
&lt;li&gt;Dog: &lt;a href="https://pixabay.com/photos/dog-animal-art-abstract-pet-2456264/" rel="noopener noreferrer"&gt;https://pixabay.com/photos/dog-animal-art-abstract-pet-2456264/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>chatgpt</category>
      <category>markdown</category>
      <category>ai</category>
      <category>chatgptbuilder</category>
    </item>
    <item>
      <title>Transform ChatGPT Conversations with a Custom Rating System - 🍎🍎🍎 (3.5/5)</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Sat, 23 Mar 2024 13:49:02 +0000</pubDate>
      <link>https://dev.to/aimarkdown/transform-chatgpt-conversations-with-a-custom-rating-system-355-5f9i</link>
      <guid>https://dev.to/aimarkdown/transform-chatgpt-conversations-with-a-custom-rating-system-355-5f9i</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown" width="144" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  In a Hurry?:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;See it in action, shared ChatGPT session:&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/ab0ce967-68ec-4757-8b49-cd89a22c197a" rel="noopener noreferrer"&gt;https://chat.openai.com/share/ab0ce967-68ec-4757-8b49-cd89a22c197a&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Discover how to swiftly incorporate a visually appealing "rating system" to your ChatGPT conversations.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Use cases include:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;Add your own visually appealing rating system to any ChatGPT content.&lt;/li&gt;
&lt;li&gt;Using ChatGPT AI analysis to rate something you've written.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Screenshot on iPhone
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2u696vvn98kxx8l2vwm4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2u696vvn98kxx8l2vwm4.png" width="400" height="865"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ⏱️ Your 30 Second Guide
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Steps:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1:&lt;/strong&gt; Copy all the text below and paste into any ChatGPT or ChatGPT Builder chat session:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions for Rating System:
&lt;span class="p"&gt;
1.&lt;/span&gt; Convert text like [Rating: X/Y] to ★★★½ (X/Y).
&lt;span class="p"&gt;2.&lt;/span&gt; Keep other text as is, including any Markdown tags.
&lt;span class="p"&gt;3.&lt;/span&gt; Display without elaboration.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2:&lt;/strong&gt; Now, you can use prompts such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;a) Please rate my essay (without making any changes to it) out of 5 using Rating System
b) Then, make improvements to it, and rate it again.

&lt;span class="gu"&gt;### History of Canada&lt;/span&gt;

Canada's history stretches back thousands of yeers, with Indigenous pepoles inhabiting the land long before European contat. First Nations, Inuit, and Métis populations developed rich cultures, languages and traditions intrinisically tied to there land. European explorers, begining with the Vikings around 1000 AD, and later French and British colonizers, dramatically altered the landskap. The fur trade feeled early economic activity, while competition between France and Britan lead to conflicts like the Seven Years' War, ultimately resulting in British dominance by the late 1700s
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also instruct ChatGPT by typing things like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Do that again, but use 🍅 as the rating system.

Do that again but use ⭐ and rate it out of 10.

I think the move "School of Rock" deserves a rating of [Rating: 4/5]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Examples
&lt;/h2&gt;

&lt;p&gt;Rating can be out of anything you want, and display any symbol or Emoji that you want&lt;/p&gt;

&lt;h3&gt;
  
  
  ★★★½ (3.5/5)
&lt;/h3&gt;

&lt;h3&gt;
  
  
  🍎🍎🍎½ (3.5/5)
&lt;/h3&gt;

&lt;h3&gt;
  
  
  ⭐⭐⭐⭐ (4/4)
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Since we are asking ChatGPT to do something it says it can't do, this technique may not be perfectly reliable within the existing chat interface.&lt;/li&gt;
&lt;li&gt;I have written OpenAI developers to ask that this feature using AImarkdown Script added (with a more direct method).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Making a custom version
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Say you want to use the tomato Emoji as your default 🍎 and always rate it out 100% rather than a scale.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Just change the AI instructions to:&lt;br&gt;
then&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions for Rating System:
&lt;span class="p"&gt;
1.&lt;/span&gt; Convert text like [Rating: X%] to 🍎 X%.
&lt;span class="p"&gt;2.&lt;/span&gt; Keep other text as is, including any Markdown tags.
&lt;span class="p"&gt;3.&lt;/span&gt; Display without elaboration.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Here is an example of the 🍎 X% style rating:&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/a1f522e0-a6b6-4cb3-85fc-2690bcbab3e8" rel="noopener noreferrer"&gt;https://chat.openai.com/share/a1f522e0-a6b6-4cb3-85fc-2690bcbab3e8&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Use Basic Formatting (Markdown)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;In the custom version above, you will notice that you can apply some basic formatting in ChatGPT. This uses the &lt;a href="https://www.markdownguide.org/basic-syntax/" rel="noopener noreferrer"&gt;Markdown Language&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If you want to try out play with &lt;a href="https://www.markdownguide.org/basic-syntax/" rel="noopener noreferrer"&gt;Markdown Language&lt;/a&gt; - click here: &lt;a href="https://markdownlivepreview.com/" rel="noopener noreferrer"&gt;https://markdownlivepreview.com/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Markdown Tip:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;If you want the raw Markdown version (just the plain text) of the ChatGPT response, just type:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;Can you give me that as Markdown, in a Markdown code window.&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Then, ChatGPT will give you the raw Markdown version you can work with.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Sample Emojis you could use with the "Rating System".
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Food
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;🍎🍎🍎½ (3.5/5) _ (Apples, whole and half)_&lt;/li&gt;
&lt;li&gt;🍓🍓🍓½ (3.5/5) &lt;em&gt;(Strawberries)&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;🍕🍕🍕½ (3.5/5) _ (Pizza slices)_&lt;/li&gt;
&lt;li&gt;🌮🌮🌮½ (3.5/5) _ (Tacos)_&lt;/li&gt;
&lt;li&gt;🍰🍰🍰½ (3.5/5) _ (Cake slices)_&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Nature
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;🌻🌻🌻½ (3.5/5) &lt;em&gt;(Sunflowers)&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;🌲🌲🌲½ (3.5/5) _ (Trees)_&lt;/li&gt;
&lt;li&gt;🦋🦋🦋½ (3.5/5) _ (Butterflies)_&lt;/li&gt;
&lt;li&gt;🐞🐞🐞½ (3.5/5) _ (Ladybugs)_&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Celestial
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;🌕🌕🌕½ (3.5/5) _ (Moon phases)_&lt;/li&gt;
&lt;li&gt;☀️☀️☀️½ (3.5/5) _ (Sun and cloud)_&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Miscellaneous
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;💎💎💎½ (3.5/5) _ (Diamonds)_&lt;/li&gt;
&lt;li&gt;💡💡💡½ (3.5/5) &lt;em&gt;(Lightbulbs - representing ideas)&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;👍👍👍½ (3.5/5) _ (Thumbs up/down)_&lt;/li&gt;
&lt;li&gt;🏅🏅🏅½ (3.5/5) &lt;em&gt;(Medals)&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;🚩🚩🚩½ (3.5/5) _ (Flags)_&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is this technique of using snippets called?
&lt;/h2&gt;

&lt;p&gt;The AI Instruction snippets are part of the larger &lt;em&gt;AImarkdown Script Language&lt;/em&gt;,&lt;br&gt;
For more info visit: &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For simple tasks like a "Rating System", short snippets is the a better solution to controlling ChatGPT than more complex AImarkdown Script.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;This simple technique adds a valuable layer of interactivity to ChatGPT conversations. Whether you're soliciting feedback on your writing, rating products or services, or just adding a touch of fun to your chats, the rating system provides a visually engaging way to interact. As ChatGPT and AImarkdown Script continue to evolve, we can expect even more creative and powerful ways to customize our interactions with AI.&lt;/p&gt;




&lt;h2&gt;
  
  
  Appendix: Taking it Further
&lt;/h2&gt;

&lt;p&gt;AImarkdown is a simple scripting language that enhances ChatGPT's abilities. We'll use a tiny bit of it to unlock image display. It is meant for programmers and non-programmers alike.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Explore more AImarkdown Script Articles:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://hackernoon.com/anyone-can-add-beautiful-interactive-images-in-chatgpt-4-in-30-seconds-heres-how" rel="noopener noreferrer"&gt;Anyone Can Add Beautiful Interactive Images in ChatGPT 4 (in 30 Seconds): Here's How&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/finally-you-can-colorize-chatgpt-output-with-aimarkdown-script-heres-how" rel="noopener noreferrer"&gt;Finally! You Can Colorize ChatGPT Output With AImarkdown Script: Here's How&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/unlock-event-driven-chatgpt-apps-with-aimarkdown-script-the-power-of-triggers" rel="noopener noreferrer"&gt;Unlock Event-Driven ChatGPT Apps With AImarkdown Script: The Power of Triggers&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/enhancing-python-execution-in-chatgpt-with-aimarkdown-script" rel="noopener noreferrer"&gt;Enhancing Python Execution in ChatGPT with AImarkdown Script&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/aimarkdown-script-a-scripting-language-to-unlock-chatgpts-potential" rel="noopener noreferrer"&gt;AIMarkdown Script: A Scripting Language to Unlock ChatGPT's Potential&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/chatgpts-missing-feature-that-you-should-know-about-code-highlighter-responder" rel="noopener noreferrer"&gt;ChatGPT's Missing Feature That You Should Know About: Code Highlighter Responder&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/using-python-in-chatgpt-with-aimarkdown-script-part-one" rel="noopener noreferrer"&gt;Using Python in ChatGPT with AImarkdown Script - Part One&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/responsedial-for-chatgpt-optimize-your-workflow-and-take-control-of-your-gpt-responses" rel="noopener noreferrer"&gt;ResponseDial For ChatGPT: Optimize Your Workflow and Take Control of Your GPT Responses&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/making-a-blackjack-game-that-coaches-you-with-chatgpt-4-and-aimarkdown-script" rel="noopener noreferrer"&gt;Making a ChatGPT Blackjack Game that Coaches You with AImarkdown Script&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/how-to-instantly-add-date-stamps-in-chatgpt-conversations" rel="noopener noreferrer"&gt;How to Instantly Add "Date Stamps" In ChatGPT Conversations&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>chatgpt</category>
      <category>chatgptbuilder</category>
      <category>markdown</category>
      <category>ai</category>
    </item>
    <item>
      <title>Now Anyone Can Add Beautiful Interactive Images in ChatGPT ⏱️ (in 30 Seconds)</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Fri, 22 Mar 2024 17:52:07 +0000</pubDate>
      <link>https://dev.to/aimarkdown/now-anyone-can-display-beautiful-interactive-images-in-chatgpt-in-30-seconds-38m3</link>
      <guid>https://dev.to/aimarkdown/now-anyone-can-display-beautiful-interactive-images-in-chatgpt-in-30-seconds-38m3</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Break out of ChatGPT's text-only world!&lt;/li&gt;
&lt;li&gt;With this simple trick, your chats can burst with color and visuals, transforming the experience into a more engaging and interactive one.&lt;/li&gt;
&lt;li&gt;Think you're limited to plain text in ChatGPT 4? Think again.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fortunately, there's a straightforward workaround. Let's dive in!&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Screenshot on iPhone
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhxezyu8xvllkb6riorw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhxezyu8xvllkb6riorw.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick Demo:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Shared ChatGPT session:&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/eeab853d-14dd-4a6e-b38a-ca6581bccbe6" rel="noopener noreferrer"&gt;https://chat.openai.com/share/eeab853d-14dd-4a6e-b38a-ca6581bccbe6&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Problem with ChatGPT and Images
&lt;/h2&gt;

&lt;p&gt;With ChatGPT 4, you can see images inside of ChatGPT by:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Uploading an image, a thumbnail will be displayed.&lt;/li&gt;
&lt;li&gt;Prompting ChatGPT to create an image for you, and that AI generated image will be displayed after a long time has passed.&lt;/li&gt;
&lt;li&gt;Simply ask ChatGPT 4 to display an image from a link you paste in. Sadly, ChatGPT will refuse by saying: &lt;em&gt;I can't directly display images, but you can view the image by clicking on the following link&lt;/em&gt;. This is of no use at all.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of these methods give you a way to use the image in any meaningful manner inside of your chats sessions. Fortunately there is a &lt;strong&gt;30 second&lt;/strong&gt; work-around by using a snippet of text based on AImarkdown Script Language. &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Since we are asking ChatGPT to do something it says it can't do, this technique may not be perfectly reliable within the existing chat interface.&lt;/li&gt;
&lt;li&gt;I have written OpenAI developers to ask that this feature be added (with a more direct method).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ⏱️ Your 30 Second Guide
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Steps:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;1:&lt;/strong&gt; Copy all the text below and paste into any ChatGPT or ChatGPT Builder Chat session.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;URL_TO_YOUR_IMAGE&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2:&lt;/strong&gt; Replace &lt;code&gt;URL_TO_IMAGE&lt;/code&gt; with a direct link to the image you want to see.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3:&lt;/strong&gt;: Press &lt;code&gt;Enter&lt;/code&gt; - and &lt;strong&gt;Presto&lt;/strong&gt; - ChatGPT will show your image.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example with image of an old truck:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faimarkdown.org%2F.netlify%2Fimages%2F%3Furl%3D%2Fi%2Fcar.jpg%26w%3D400" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faimarkdown.org%2F.netlify%2Fimages%2F%3Furl%3D%2Fi%2Fcar.jpg%26w%3D400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just paste this into ChatGPT 4 chat:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;https://aimarkdown.org/.netlify/images/?url=/i/car.jpg&amp;amp;w=400&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Tip
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Be sure the URL is the &lt;strong&gt;direct link&lt;/strong&gt; to the image, not a link to a webpage containing the image.&lt;/li&gt;
&lt;li&gt;You can &lt;code&gt;right-click&lt;/code&gt; on the image and select &lt;code&gt;Open Image in new tab&lt;/code&gt; to get &lt;strong&gt;direct link&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Bonus Tips: UnSplash.com
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Unsplash Tip #1
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Want some beautiful free images?&lt;/li&gt;
&lt;li&gt;Check out: &lt;a href="https://unsplash.com" rel="noopener noreferrer"&gt;https://unsplash.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Unsplash.com image example:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1613776701046-469325f5bdfe%3Fq%3D80%26w%3D300" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1613776701046-469325f5bdfe%3Fq%3D80%26w%3D300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just paste this into ChatGPT 4 chat:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=300&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Unsplash Tip #2
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://unsplash.com" rel="noopener noreferrer"&gt;Unspash.com&lt;/a&gt; images can be dynamically resized by change the width&lt;br&gt;
&lt;code&gt;w=400&lt;/code&gt; is an image 400 pixels wide&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can shorten the unspash.com URL from:&lt;/li&gt;
&lt;li&gt;&lt;code&gt;https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=2070&amp;amp;auto=format&amp;amp;fit=crop&amp;amp;ixlib=rb-4.0.3&amp;amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;to this&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=2070&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  About Unsplash
&lt;/h3&gt;

&lt;p&gt;Over 3 million free high-resolution images brought to you by the world’s most generous community of photographers.&lt;/p&gt;

&lt;p&gt;Unsplash photos are made to be used freely. Our license reflects that.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; All photos can be downloaded and used for free&lt;/li&gt;
&lt;li&gt; Commercial and non-commercial purposes&lt;/li&gt;
&lt;li&gt; No permission needed (though attribution is appreciated!)
&lt;a href="https://unsplash.com/license" rel="noopener noreferrer"&gt;https://unsplash.com/license&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Tip: More free images for you
&lt;/h2&gt;

&lt;p&gt;Stunning royalty-free images &amp;amp; royalty-free stock&lt;br&gt;
Over 4.4 million+ high quality stock images, videos and music shared by our talented community. &lt;a href="https://pixabay.com/" rel="noopener noreferrer"&gt;https://pixabay.com/&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Advanced Tips:
&lt;/h2&gt;

&lt;p&gt;While it may be a bit tricky, with careful attention, you can make your images a clickable link to a website or a larger version of the image. Here's how:&lt;/p&gt;

&lt;p&gt;See advanced tip in action:&lt;br&gt;
Shared ChatGPT session:&lt;/p&gt;
&lt;h3&gt;
  
  
  Quick Demo:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Shared ChatGPT session:&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/cea6a8dc-dbf4-4495-aa1d-5ff1e4418255" rel="noopener noreferrer"&gt;https://chat.openai.com/share/cea6a8dc-dbf4-4495-aa1d-5ff1e4418255&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Image Links to larger version
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;👆 Click on the image for larger version:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=2000" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1613776701046-469325f5bdfe%3Fq%3D80%26w%3D300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👆 Click on image for larger version&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Code to edit and then paste into ChatGPT:&lt;br&gt;
&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;![&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=300&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;](https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=2000)
&lt;span class="p"&gt;
-&lt;/span&gt; 👆 Click on image for larger version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Image Links to website
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://unsplash.com" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1615791773013-324387bbf7b0%3Fq%3D80%26w%3D400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👆 Click on the image to visit unsplash.com&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Code to edit and then paste into ChatGPT:&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;![&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;https://images.unsplash.com/photo-1615791773013-324387bbf7b0?q=80&amp;amp;w=400&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;](https://unsplash.com)
&lt;span class="p"&gt;
-&lt;/span&gt; 👆 Click on the image to visit unsplash.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Image and text combined
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration. Then add "this is a picture of a truck" below the image
&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;https://aimarkdown.org/.netlify/images/?url=/i/car.jpg&amp;amp;w=400&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Example of image and text:&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faimarkdown.org%2F.netlify%2Fimages%2F%3Furl%3D%2Fi%2Fcar.jpg%26w%3D400" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faimarkdown.org%2F.netlify%2Fimages%2F%3Furl%3D%2Fi%2Fcar.jpg%26w%3D400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;this is a picture of a truck&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;This technique unlocks creativity in ChatGPT. Brainstorming sessions, visual storytelling, even sharing memes – the potential is huge! What other innovative uses will &lt;strong&gt;you&lt;/strong&gt; find?&lt;/p&gt;




&lt;p&gt;Photo Credits:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Photograph Credit: Old Truck: Miniature Photography by: &lt;em&gt;Rob McCormack&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Unsplash.com photos: See URLs&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  AImarkdown Script Deep Dive:
&lt;/h2&gt;

&lt;p&gt;AImarkdown is a simple scripting language that enhances ChatGPT's abilities. We'll use a tiny bit of it to unlock image display. It is meant for programmers and non-programmers alike.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Explore more AImarkdown Script Articles:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/finally-you-can-colorize-chatgpt-output-with-aimarkdown-script-heres-how" rel="noopener noreferrer"&gt;Finally! You Can Colorize ChatGPT Output With AImarkdown Script: Here's How&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/unlock-event-driven-chatgpt-apps-with-aimarkdown-script-the-power-of-triggers" rel="noopener noreferrer"&gt;Unlock Event-Driven ChatGPT Apps With AImarkdown Script: The Power of Triggers&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/enhancing-python-execution-in-chatgpt-with-aimarkdown-script" rel="noopener noreferrer"&gt;Enhancing Python Execution in ChatGPT with AImarkdown Script&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/aimarkdown-script-a-scripting-language-to-unlock-chatgpts-potential" rel="noopener noreferrer"&gt;AIMarkdown Script: A Scripting Language to Unlock ChatGPT's Potential&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/chatgpts-missing-feature-that-you-should-know-about-code-highlighter-responder" rel="noopener noreferrer"&gt;ChatGPT's Missing Feature That You Should Know About: Code Highlighter Responder&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/using-python-in-chatgpt-with-aimarkdown-script-part-one" rel="noopener noreferrer"&gt;Using Python in ChatGPT with AImarkdown Script - Part One&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/responsedial-for-chatgpt-optimize-your-workflow-and-take-control-of-your-gpt-responses" rel="noopener noreferrer"&gt;ResponseDial For ChatGPT: Optimize Your Workflow and Take Control of Your GPT Responses&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/making-a-blackjack-game-that-coaches-you-with-chatgpt-4-and-aimarkdown-script" rel="noopener noreferrer"&gt;Making a ChatGPT Blackjack Game that Coaches You with AImarkdown Script&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/how-to-instantly-add-date-stamps-in-chatgpt-conversations" rel="noopener noreferrer"&gt;How to Instantly Add "Date Stamps" In ChatGPT Conversations&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Break out of ChatGPT's text-only world!&lt;/li&gt;
&lt;li&gt;With this simple trick, your chats can burst with color and visuals, transforming the experience into a more engaging and interactive one.&lt;/li&gt;
&lt;li&gt;Think you're limited to plain text in ChatGPT 4? Think again.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fortunately, there's a straightforward workaround. Let's dive in!&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Screenshot on iPhone
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhxezyu8xvllkb6riorw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhxezyu8xvllkb6riorw.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick Demo:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Shared ChatGPT session:&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/eeab853d-14dd-4a6e-b38a-ca6581bccbe6" rel="noopener noreferrer"&gt;https://chat.openai.com/share/eeab853d-14dd-4a6e-b38a-ca6581bccbe6&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Problem with ChatGPT and Images
&lt;/h2&gt;

&lt;p&gt;With ChatGPT 4, you can see images inside of ChatGPT by:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Uploading an image, a thumbnail will be displayed.&lt;/li&gt;
&lt;li&gt;Prompting ChatGPT to create an image for you, and that AI generated image will be displayed after a long time has passed.&lt;/li&gt;
&lt;li&gt;Simply ask ChatGPT 4 to display an image from a link you paste in. Sadly, ChatGPT will refuse by saying: &lt;em&gt;I can't directly display images, but you can view the image by clicking on the following link&lt;/em&gt;. This is of no use at all.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of these methods give you a way to use the image in any meaningful manner inside of your chats sessions. Fortunately there is a &lt;strong&gt;30 second&lt;/strong&gt; work-around by using a snippet of text based on AImarkdown Script Language. &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Since we are asking ChatGPT to do something it says it can't do, this technique may not be perfectly reliable within the existing chat interface.&lt;/li&gt;
&lt;li&gt;I have written OpenAI developers to ask that this feature be added (with a more direct method).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ⏱️ Your 30 Second Guide
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Steps:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;1:&lt;/strong&gt; Copy all the text below and paste into any ChatGPT or ChatGPT Builder Chat session.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;URL_TO_YOUR_IMAGE&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2:&lt;/strong&gt; Replace &lt;code&gt;URL_TO_IMAGE&lt;/code&gt; with a direct link to the image you want to see.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3:&lt;/strong&gt;: Press &lt;code&gt;Enter&lt;/code&gt; - and &lt;strong&gt;Presto&lt;/strong&gt; - ChatGPT will show your image.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example with image of an old truck:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faimarkdown.org%2F.netlify%2Fimages%2F%3Furl%3D%2Fi%2Fcar.jpg%26w%3D400" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faimarkdown.org%2F.netlify%2Fimages%2F%3Furl%3D%2Fi%2Fcar.jpg%26w%3D400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just paste this into ChatGPT 4 chat:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;https://aimarkdown.org/.netlify/images/?url=/i/car.jpg&amp;amp;w=400&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Tip
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Be sure the URL is the &lt;strong&gt;direct link&lt;/strong&gt; to the image, not a link to a webpage containing the image.&lt;/li&gt;
&lt;li&gt;You can &lt;code&gt;right-click&lt;/code&gt; on the image and select &lt;code&gt;Open Image in new tab&lt;/code&gt; to get &lt;strong&gt;direct link&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Bonus Tips: UnSplash.com
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Unsplash Tip #1
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Want some beautiful free images?&lt;/li&gt;
&lt;li&gt;Check out: &lt;a href="https://unsplash.com" rel="noopener noreferrer"&gt;https://unsplash.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Unsplash.com image example:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1613776701046-469325f5bdfe%3Fq%3D80%26w%3D300" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1613776701046-469325f5bdfe%3Fq%3D80%26w%3D300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just paste this into ChatGPT 4 chat:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=300&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Unsplash Tip #2
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://unsplash.com" rel="noopener noreferrer"&gt;Unspash.com&lt;/a&gt; images can be dynamically resized by change the width&lt;br&gt;
&lt;code&gt;w=400&lt;/code&gt; is an image 400 pixels wide&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can shorten the unspash.com URL from:&lt;/li&gt;
&lt;li&gt;&lt;code&gt;https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=2070&amp;amp;auto=format&amp;amp;fit=crop&amp;amp;ixlib=rb-4.0.3&amp;amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;to this&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=2070&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  About Unsplash
&lt;/h3&gt;

&lt;p&gt;Over 3 million free high-resolution images brought to you by the world’s most generous community of photographers.&lt;/p&gt;

&lt;p&gt;Unsplash photos are made to be used freely. Our license reflects that.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; All photos can be downloaded and used for free&lt;/li&gt;
&lt;li&gt; Commercial and non-commercial purposes&lt;/li&gt;
&lt;li&gt; No permission needed (though attribution is appreciated!)
&lt;a href="https://unsplash.com/license" rel="noopener noreferrer"&gt;https://unsplash.com/license&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Tip: More free images for you
&lt;/h2&gt;

&lt;p&gt;Stunning royalty-free images &amp;amp; royalty-free stock&lt;br&gt;
Over 4.4 million+ high quality stock images, videos and music shared by our talented community. &lt;a href="https://pixabay.com/" rel="noopener noreferrer"&gt;https://pixabay.com/&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Advanced Tips:
&lt;/h2&gt;

&lt;p&gt;While it may be a bit tricky, with careful attention, you can make your images a clickable link to a website or a larger version of the image. Here's how:&lt;/p&gt;

&lt;p&gt;See advanced tip in action:&lt;br&gt;
Shared ChatGPT session:&lt;/p&gt;
&lt;h3&gt;
  
  
  Quick Demo:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Shared ChatGPT session:&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/cea6a8dc-dbf4-4495-aa1d-5ff1e4418255" rel="noopener noreferrer"&gt;https://chat.openai.com/share/cea6a8dc-dbf4-4495-aa1d-5ff1e4418255&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Image Links to larger version
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;👆 Click on the image for larger version:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=2000" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1613776701046-469325f5bdfe%3Fq%3D80%26w%3D300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👆 Click on image for larger version&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Code to edit and then paste into ChatGPT:&lt;br&gt;
&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;![&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=300&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;](https://images.unsplash.com/photo-1613776701046-469325f5bdfe?q=80&amp;amp;w=2000)
&lt;span class="p"&gt;
-&lt;/span&gt; 👆 Click on image for larger version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Image Links to website
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://unsplash.com" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1615791773013-324387bbf7b0%3Fq%3D80%26w%3D400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👆 Click on the image to visit unsplash.com&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Code to edit and then paste into ChatGPT:&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration.
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;![&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;https://images.unsplash.com/photo-1615791773013-324387bbf7b0?q=80&amp;amp;w=400&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;](https://unsplash.com)
&lt;span class="p"&gt;
-&lt;/span&gt; 👆 Click on the image to visit unsplash.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;AI Instructions: Please display this Markdown to the user without any elaboration. Then add "this is a picture of a truck" below the image
&lt;span class="p"&gt;![](&lt;/span&gt;&lt;span class="sx"&gt;https://aimarkdown.org/.netlify/images/?url=/i/car.jpg&amp;amp;w=400&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;This technique unlocks creativity in ChatGPT. Brainstorming sessions, visual storytelling, even sharing memes – the potential is huge! What other innovative uses will &lt;strong&gt;you&lt;/strong&gt; find?&lt;/p&gt;




&lt;p&gt;Photo Credits:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Photograph Credit: Old Truck: Miniature Photography by: &lt;em&gt;Rob McCormack&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Unsplash.com photos: See URLs&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  AImarkdown Script Deep Dive:
&lt;/h2&gt;

&lt;p&gt;AImarkdown is a simple scripting language that enhances ChatGPT's abilities. We'll use a tiny bit of it to unlock image display. It is meant for programmers and non-programmers alike.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Explore more AImarkdown Script Articles:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/finally-you-can-colorize-chatgpt-output-with-aimarkdown-script-heres-how" rel="noopener noreferrer"&gt;Finally! You Can Colorize ChatGPT Output With AImarkdown Script: Here's How&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/unlock-event-driven-chatgpt-apps-with-aimarkdown-script-the-power-of-triggers" rel="noopener noreferrer"&gt;Unlock Event-Driven ChatGPT Apps With AImarkdown Script: The Power of Triggers&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/enhancing-python-execution-in-chatgpt-with-aimarkdown-script" rel="noopener noreferrer"&gt;Enhancing Python Execution in ChatGPT with AImarkdown Script&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/aimarkdown-script-a-scripting-language-to-unlock-chatgpts-potential" rel="noopener noreferrer"&gt;AIMarkdown Script: A Scripting Language to Unlock ChatGPT's Potential&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/chatgpts-missing-feature-that-you-should-know-about-code-highlighter-responder" rel="noopener noreferrer"&gt;ChatGPT's Missing Feature That You Should Know About: Code Highlighter Responder&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/using-python-in-chatgpt-with-aimarkdown-script-part-one" rel="noopener noreferrer"&gt;Using Python in ChatGPT with AImarkdown Script - Part One&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/responsedial-for-chatgpt-optimize-your-workflow-and-take-control-of-your-gpt-responses" rel="noopener noreferrer"&gt;ResponseDial For ChatGPT: Optimize Your Workflow and Take Control of Your GPT Responses&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/making-a-blackjack-game-that-coaches-you-with-chatgpt-4-and-aimarkdown-script" rel="noopener noreferrer"&gt;Making a ChatGPT Blackjack Game that Coaches You with AImarkdown Script&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://hackernoon.com/how-to-instantly-add-date-stamps-in-chatgpt-conversations" rel="noopener noreferrer"&gt;How to Instantly Add "Date Stamps" In ChatGPT Conversations&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>chatgpt</category>
      <category>chatgptbuilder</category>
      <category>ai</category>
      <category>markdown</category>
    </item>
    <item>
      <title>Finally! Colorize ChatGPT Output with AImarkdown Script</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Wed, 20 Mar 2024 18:24:53 +0000</pubDate>
      <link>https://dev.to/aimarkdown/finally-colorize-chatgpt-output-with-aimarkdown-script-250p</link>
      <guid>https://dev.to/aimarkdown/finally-colorize-chatgpt-output-with-aimarkdown-script-250p</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown" width="144" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Looking to make your ChatGPT conversations more visually engaging? This guide shows you how. Discover how simple tools can transform plain ChatGPT replies into vibrant, formatted responses. Perfect for anyone looking to make information standout or enhance app development with ChatGPT.&lt;/p&gt;

&lt;p&gt;Despite ChatGPT's lack of native support for Markdown and color, there's a workaround. Many believe that creating ChatGPT apps or using ChatGPT Builder outputs requires a great deal of effort and years of software development experience. AImarkdown Script changes all that, proving it's possible to easily enhance the visual appeal of your interactions.&lt;/p&gt;

&lt;p&gt;Let's explore some extra tools that make colorful, formatted ChatGPT responses possible. Whether you're a developer looking to enhance your projects or a casual user seeking to enrich your ChatGPT experience, these tools are designed to be accessible and straightforward to use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tools Used
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;AImarkdown Script&lt;/strong&gt;: Control output and interactions with human-understandable YAML and Markdown&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Placehold&lt;/strong&gt;: A simple, fast and free image placeholder service&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fakeimg&lt;/strong&gt;: Generates images with an URL. Choose the size, the colors, even the text&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shield.io&lt;/strong&gt;: Creates concise, consistent, and legible image badges&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Screenshot
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgixo131eypbidbew7yxs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgixo131eypbidbew7yxs.png" alt="iphone screenshot" width="400" height="544"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. AImarkdown Script
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AImarkdown Script is a versatile language for creating dynamic interactions with conversational AI platforms like ChatGPT. It empowers users to script interactions, control conversation flow, and customize AI behavior and responses. For programmers, it offers the flexibility of a scripting language; for non-programmers, it provides a user-friendly way to customize and control AI experiences. &lt;em&gt;Developed by Rob McCormack&lt;/em&gt; - &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Notes:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;AImarkdown Script can be simply pasted into any ChatGPT 4 or ChatGPT Builder session, and AI will follow the instructions and behave according. Same with ChatGPT Builder.&lt;/li&gt;
&lt;li&gt;Some images may not be displayed on the iPhone app. But in a browser on desktop and mobile images will be displayed.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  2. Placehold
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Documentation&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://placehold.co/" rel="noopener noreferrer"&gt;https://placehold.co/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;https://placehold.co/300x40/ff0000/FFFFFF/png?text=Hello+World&amp;amp;font=roboto
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Markdown formatted image&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--popF2yRp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://placehold.co/300x40/ff0000/FFFFFF/png%3Ftext%3DHello%2BWorld%26font%3Droboto" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--popF2yRp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://placehold.co/300x40/ff0000/FFFFFF/png%3Ftext%3DHello%2BWorld%26font%3Droboto" alt="image" width="300" height="40"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. FakeImg
&lt;/h2&gt;

&lt;p&gt;FakeImg supports fonts and transparencies&lt;br&gt;
&lt;strong&gt;Documentation&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/Rydgel/Fake-images-please" rel="noopener noreferrer"&gt;https://github.com/Rydgel/Fake-images-please&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;![&lt;/span&gt;&lt;span class="nv"&gt;image&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;https://fakeimg.pl/300x50/ff2233,60/f0ff00,128?text=Main%20Title&amp;amp;font=lobster&amp;amp;font_size=24&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Markdown formatted image&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mLiNa6M---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://fakeimg.pl/300x50/ff2233%2C60/f0ff00%2C128%3Ftext%3DMain%2520Title%26font%3Dlobster%26font_size%3D24" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mLiNa6M---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://fakeimg.pl/300x50/ff2233%2C60/f0ff00%2C128%3Ftext%3DMain%2520Title%26font%3Dlobster%26font_size%3D24" alt="image" width="300" height="50"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Parameters Explained:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The documentation for FakeImg is a little hard to follow, so here is a concise explanation of parameters used.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;![image](https://fakeimg.pl/300x100/ff0000,128/0000ff,128?text=Rob%20McCormack&amp;amp;font=lobster&amp;amp;font_size=24)&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;300x100&lt;/code&gt;: Specifies the dimensions of the generated image. In this case, the image is 300 pixels wide and 100 pixels tall.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ff0000,128&lt;/code&gt;: Defines the background color and its opacity. &lt;code&gt;ff0000&lt;/code&gt; is a hex code for the color red, and &lt;code&gt;128&lt;/code&gt; sets the opacity to 50% (on a scale of 0 to 255, where 255 is fully opaque).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;0000ff,128&lt;/code&gt;: Sets the text color and its opacity. &lt;code&gt;0000ff&lt;/code&gt; is the hex code for blue, and &lt;code&gt;128&lt;/code&gt; indicates the text opacity at 50%.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;text=Rob%20McCormack&lt;/code&gt;: This parameter specifies the text to be displayed on the image. &lt;code&gt;%20&lt;/code&gt; is a URL-encoded space, so the text on the image will be "Rob McCormack".&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;font=lobster&lt;/code&gt;: Determines the font used for the text. In this case, "lobster" is the chosen font.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;font_size=24&lt;/code&gt;: Sets the size of the font. The text will be displayed using a font size of 24 pixels.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Shields.io
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Documentation&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://shields.io/" rel="noopener noreferrer"&gt;https://shields.io/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;br&gt;
Note: Images can also be hyperlinked.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;https://placehold.co/300x40/ff0000/FFFFFF/png?text=Hello+World&amp;amp;font=roboto
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Markdown formatted badge&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;![image](https://img.shields.io/badge/any_text-you_like-blue)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ymVpahxv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://img.shields.io/badge/any_text-you_like-blue" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ymVpahxv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://img.shields.io/badge/any_text-you_like-blue" alt="image" width="108" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  AImarkdown Script Installation Notes
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT 4&lt;/strong&gt;: Copy and paste code into ChatGPT.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT Builder&lt;/strong&gt;: In &lt;code&gt;Configuration|Instructions&lt;/code&gt;, add "&lt;em&gt;AI to follow these instructions:&lt;/em&gt;", then copy and paste the entire code.&lt;/li&gt;
&lt;li&gt;❌ &lt;strong&gt;ChatGPT Builder with API Actions&lt;/strong&gt;: Setting up &lt;em&gt;Actions&lt;/em&gt; and knowledge of API calls required.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;By integrating AImarkdown Script into your ChatGPT and ChatGPT Builder apps, you've unlocked a new level of customization. Adding color, formatting, and images transforms the user experience, improving readability and making information easier to understand. This opens the door to even more engaging and informative interactions!&lt;/p&gt;

&lt;h2&gt;
  
  
  Next Steps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Experiment:&lt;/strong&gt; Explore adding more events and complex triggers to expand your project's capabilities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AImarkdown Community:&lt;/strong&gt; Join the AImarkdown community to share ideas and learn from others. Visit the website at &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Share Your Project:&lt;/strong&gt; Consider sharing a working version of your ChatGPT session using a sharable link. This would allow others to try it directly!&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Published Articles: Further Reading
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fPUXfoTP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://i.aimarkdown.org/dev-to-black.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fPUXfoTP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://i.aimarkdown.org/dev-to-black.png" alt="dev.to logo" width="40" height="40"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/aimarkdown/code-highlighter-responder-chatgpts-missing-feature-8dg"&gt;Code Highlighter Responder - ChatGPT's Missing Feature&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/aimarkdown/unleashing-pythons-power-within-chatgpt-part-one-1048"&gt;Unleashing Python’s Power within ChatGPT - Part One&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/aimarkdown/build-a-chatgpt-4-blackjack-game-with-ai-coaching-49-lines-of-code-2l84"&gt;Build a ChatGPT 4 Blackjack Game with AI Coaching (49 Lines of Code)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/aimarkdown/responsedial-take-control-of-chatgpt-responses-m49"&gt;ResponseDial: Take Control of ChatGPT Responses&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/aimarkdown/instantly-add-a-date-stamp-feature-that-chatgpt-forgot-4g4o"&gt;Instantly Add a "Date Stamp" Feature That ChatGPT Forgot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/aimarkdown/lightning-fast-python-in-chatgpt-with-aimarkdown-script-mje"&gt;Lightning-Fast Python in ChatGPT with AImarkdown Script&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/aimarkdown/finally-colorize-chatgpt-output-with-aimarkdown-script-58oa-temp-slug-8540534/edit"&gt;Finally! Colorize ChatGPT Output with AImarkdown Script&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  AImarkdown Script Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Colorizer&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;for&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;ChatGPT"&lt;/span&gt;
&lt;span class="na"&gt;author&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Rob McCormack&lt;/span&gt;

&lt;span class="c1"&gt;# AI To Follow These Instructions and Guidance  (version 2024.02.03)&lt;/span&gt;

&lt;span class="c1"&gt;# Overview:  Example of using color with AImarkdown Script&lt;/span&gt;

&lt;span class="c1"&gt;# Document Structure:&lt;/span&gt;
&lt;span class="c1"&gt;# - AImarkdown language is a combination of YAML and Markdown. https://aimarkdown.org&lt;/span&gt;
&lt;span class="c1"&gt;# - YAML sections are at the top, providing document configuration and instructions.&lt;/span&gt;
&lt;span class="c1"&gt;# - Comments (`#`) in YAML guide AI's approach to the document.&lt;/span&gt;
&lt;span class="c1"&gt;# - Markdown sections are below YAML sections, for content display and interaction.&lt;/span&gt;

&lt;span class="c1"&gt;# Understanding Placeholders in YAML and Markdown:&lt;/span&gt;
&lt;span class="c1"&gt;# - Static placeholder [place_holder] are to be replaced with variables.&lt;/span&gt;

&lt;span class="c1"&gt;# Markdown Section Instructions:&lt;/span&gt;
&lt;span class="c1"&gt;# - Markdown section starts with `:::name_of_section` and end with `:::`.&lt;/span&gt;
&lt;span class="c1"&gt;# - IMPORTANT: Lines with `:::` are separators and must always be omitted from the displayed content.&lt;/span&gt;

&lt;span class="c1"&gt;# AI Image Creation Policy&lt;/span&gt;
&lt;span class="c1"&gt;# - Do not create images from any AImarkdown instructions.&lt;/span&gt;
&lt;span class="c1"&gt;# - Any image creation must be a direct response to a user's explicit request for an image.&lt;/span&gt;

&lt;span class="c1"&gt;# Session Startup Event&lt;/span&gt;
&lt;span class="c1"&gt;# Ensure that `welcome_message` message is displayed when sessions starts.&lt;/span&gt;
&lt;span class="c1"&gt;# Display `welcome_message` message without additional elaboration.&lt;/span&gt;

&lt;span class="na"&gt;session_startup&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;display_welcome_message_and_trigger_color&lt;/span&gt;
  &lt;span class="na"&gt;welcome_message&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
    &lt;span class="s"&gt;Welcome to: **[title]**&lt;/span&gt;
    &lt;span class="s"&gt;Use `/color` to try this out.&lt;/span&gt;

&lt;span class="na"&gt;topic_title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;History&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;of&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;Canada"&lt;/span&gt;
&lt;span class="na"&gt;topic_title_image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;![](https://placehold.co/600x100/222222/0093ff?font=playfair-display&amp;amp;text=History%20of%20Canada)&lt;/span&gt;

&lt;span class="c1"&gt;#  AI to generate an introduction to a topic&lt;/span&gt;
&lt;span class="na"&gt;topic_intro&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;AI to generate in point form, 3 short points about history of Canada.&lt;/span&gt;

&lt;span class="c1"&gt;# Generate some random text for display in Markdown section&lt;/span&gt;
&lt;span class="na"&gt;lorem_ipsum_text&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;AI to generate  1 paragraph, about 80 words of Lorem ipsum text.&lt;/span&gt;

&lt;span class="c1"&gt;# Display `color-document` Markdown section&lt;/span&gt;
&lt;span class="c1"&gt;# AI to not elaborate or explain - just display `color-document`&lt;/span&gt;
&lt;span class="na"&gt;display_color-document&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Directly display 'color-document' section without adding any AI-generated introduction, explanation, or commentary.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display all images in `[alt text](image_url)` Markdown syntax.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Replace all placeholders with values.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/color&lt;/span&gt;

&lt;span class="c1"&gt;# Markdown section `color-document`.&lt;/span&gt;
&lt;span class="s"&gt;:::color-document&lt;/span&gt;

&lt;span class="kt"&gt;![](https://aimarkdown.org/i/can.png)&lt;/span&gt;
&lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;topic_title_image&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="err"&gt;*&lt;/span&gt;&lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;topic_title&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt; &lt;span class="s"&gt;by [author]*&lt;/span&gt;
&lt;span class="kt"&gt;![](https://img.shields.io/badge/A%20brief%20look%20at%20Canada's%20beginnings.-0d6efd)&lt;/span&gt;
&lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;topic_intro&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;

&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="kt"&gt;![](https://fakeimg.pl/400x50/ffcccc,60/000000,128?text=Examples&amp;amp;font=lobster&amp;amp;font_size=24)&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="kt"&gt;![](https://img.shields.io/badge/any_text-you_like-blue)&lt;/span&gt;

&lt;span class="pi"&gt;|&lt;/span&gt;&lt;span class="err"&gt;![](https://img.shields.io/badge/Yellow-FCE94F)&lt;/span&gt; &lt;span class="err"&gt;|&lt;/span&gt; &lt;span class="err"&gt;![](https://img.shields.io/badge/Blue-2D69AF)&lt;/span&gt; &lt;span class="err"&gt;|&lt;/span&gt; &lt;span class="err"&gt;![](https://img.shields.io/badge/Red-C22326)&lt;/span&gt;  &lt;span class="err"&gt;|&lt;/span&gt;
&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="s"&gt; :--: | :--: | :--: |&lt;/span&gt;
&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="s"&gt; ![](https://aimarkdown.org/.netlify/images/?url=/i/robot-yellow.png&amp;amp;w=100) | ![](https://aimarkdown.org/.netlify/images/?url=/i/robot-blue.png&amp;amp;w=100) | ![](https://aimarkdown.org/.netlify/images/?url=/i/robot-red.png&amp;amp;w=100) |&lt;/span&gt;
&lt;span class="err"&gt;&amp;gt;&lt;/span&gt;&lt;span class="s"&gt; Click to change color and animate Robot.&lt;/span&gt;
&lt;span class="err"&gt;&amp;gt;&lt;/span&gt;&lt;span class="s"&gt; [![](https://aimarkdown.org/.netlify/images/?url=/i/robot-yellow.png&amp;amp;w=220)](https://aimarkdown.org/i/robot-animated.gif)&lt;/span&gt;

&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="s"&gt;## Lorem Ipsum&lt;/span&gt;
&lt;span class="err"&gt;[&lt;/span&gt;&lt;span class="s"&gt;lorem_ipsum_text]&lt;/span&gt;

&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="s"&gt;--&lt;/span&gt;
&lt;span class="err"&gt;!&lt;/span&gt;&lt;span class="s"&gt;[](https://img.shields.io/badge/%F0%9F%8D%81Made%20in%20Canada%20-grey?style=flat-square)![Powered by AImarkdown](https://aimarkdown.org/logos/built-with-aimarkdown.png)&lt;/span&gt;

&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="s"&gt;::&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>chatgpt</category>
      <category>ai</category>
      <category>aimarkdown</category>
    </item>
    <item>
      <title>Unlock Event-Driven ChatGPT Apps with AImarkdown Script: The Power of Triggers</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Thu, 14 Mar 2024 19:26:39 +0000</pubDate>
      <link>https://dev.to/aimarkdown/unlock-event-driven-chatgpt-apps-with-aimarkdown-script-the-power-of-triggers-36l4</link>
      <guid>https://dev.to/aimarkdown/unlock-event-driven-chatgpt-apps-with-aimarkdown-script-the-power-of-triggers-36l4</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 or ChatGPT Builder is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown" width="144" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  In a Hurry?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;See it in action: &lt;a href="https://chat.openai.com/share/e2b1195c-3439-4eed-abe7-b586be28d582" rel="noopener noreferrer"&gt;Shared ChatGPT session&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;This article explores the potential of integrating triggers and events within ChatGPT to create interactive, adaptable content. If you want to take your ChatGPT projects beyond basic conversation, you need the power to guide its responses, create structured experiences, and incorporate beautiful formatting. Enter AImarkdown Script. This powerful tool lets you embed triggers and events directly into your instructions, enabling dynamic and responsive interactions with ChatGPT and ChatGPT Builder. Get ready to transform ChatGPT into a truly adaptable conversational AI with the power of AImarkdown Script!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Screenshot
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feacp82u7nraepr6c3ej8.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feacp82u7nraepr6c3ej8.jpg" alt="iphone screenshot" width="400" height="865"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is AImarkdown Script?
&lt;/h2&gt;

&lt;p&gt;AImarkdown Script is a versatile language for creating dynamic interactions with conversational AI platforms like ChatGPT. It empowers users to script interactions, control conversation flow, and customize AI behavior and responses. For programmers, it offers the flexibility of a scripting language; for non-programmers, it provides a user-friendly way to customize and control AI experiences. &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Example of Working with Triggers and Events in AImarkdown Script
&lt;/h2&gt;

&lt;p&gt;The provided AImarkdown Script demonstrates how to leverage triggers and events to orchestrate a dynamic, interactive experience with ChatGPT. Let's break it down:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Event: 'session_startup'&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;This event triggers at the beginning of a user session.&lt;/li&gt;
&lt;li&gt;Its purpose is to ensure a welcoming and informative start to the interaction.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Event: 'start_again'&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;This provides a way for the user to reset the experience with the &lt;code&gt;/start&lt;/code&gt; command.&lt;/li&gt;
&lt;li&gt;It maintains engagement by allowing them to explore new scenarios.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Event: 'ask_for_facts'&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;This event is triggered after the welcome message.&lt;/li&gt;
&lt;li&gt;It prompts the user for information (facts about a randomly selected fruit), creating an interactive element.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Event: 'warning_to_user'&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Detects prohibited words entered by the user.&lt;/li&gt;
&lt;li&gt;Provides a corrective message, guiding appropriate interaction.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why This is Useful&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Structured Interaction:&lt;/strong&gt; Instead of a purely open-ended conversation with ChatGPT, these events create a defined flow, guiding the user through the experience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adaptability:&lt;/strong&gt; Responses change dynamically based on user input. The fruit selection and subsequent prompts adjust accordingly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User Control:&lt;/strong&gt; The '/start' command offers users agency to refresh the experience, ensuring it doesn't become repetitive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Behavior Guidance:&lt;/strong&gt; The 'warning_to_user' section helps enforce desired interaction parameters and maintains a positive environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Key Takeaway:&lt;/strong&gt; Triggers and events in AImarkdown Script transform ChatGPT from a general conversational AI into a tailored tool that can deliver structured, engaging, and adaptable experiences.&lt;/p&gt;

&lt;h2&gt;
  
  
  Going further with Triggers and Events
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;User Input Patterns:&lt;/strong&gt; Trigger events based on specific patterns or keywords in user input.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Completion of Previous Actions:&lt;/strong&gt; Events that occur after the completion of a set action or task, much like the &lt;code&gt;ask_for_facts&lt;/code&gt; event following the &lt;code&gt;welcome_message&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Error or Exception Handling:&lt;/strong&gt; Trigger events in response to errors or unexpected inputs, guiding users back on track.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User Feedback Loop:&lt;/strong&gt; Events that ask for user feedback on the content provided, which can then adjust the flow or content of the document.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Progress Milestones:&lt;/strong&gt; Events triggered by the user reaching certain milestones in a sequence or learning process.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  AImarkdown Script Installation Notes
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT 4&lt;/strong&gt;: Copy and paste code into ChatGPT.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT Builder&lt;/strong&gt;: In &lt;code&gt;Configuration|Instructions&lt;/code&gt;, add "&lt;em&gt;AI to follow these instructions:&lt;/em&gt;", then copy and paste the entire code.&lt;/li&gt;
&lt;li&gt;❌ &lt;strong&gt;ChatGPT Builder with API Actions&lt;/strong&gt;: Setting up &lt;em&gt;Actions&lt;/em&gt; and knowledge of API calls required.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;By incorporating triggers and events into AImarkdown Script, you gain unprecedented control over your ChatGPT sessions. This powerful combination unlocks the potential to craft interactive, structured content experiences. Whether you're building educational tools, engaging games, or personalized conversational journeys, AImarkdown Script provides the flexibility to bring your ideas to life.&lt;/p&gt;

&lt;p&gt;As you experiment further, remember the vast possibilities offered by chaining events, combining them with user input, and even triggering events based on external data sources (with the help of API actions in ChatGPT Builder). AImarkdown Script opens the door to truly dynamic and adaptable conversational AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Next Steps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Experiment:&lt;/strong&gt; Explore adding more events and complex triggers to expand your project's capabilities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AImarkdown Community:&lt;/strong&gt; Join the AImarkdown community to share ideas and learn from others. Visit the website at &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Share Your Project:&lt;/strong&gt; Consider sharing a working version of your ChatGPT session using a sharable link. This would allow others to try it directly!&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  AImarkdown Script Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Test&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;of&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;events&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;in&lt;/span&gt;&lt;span class="nv"&gt;  &lt;/span&gt;&lt;span class="s"&gt;AImarkdown"&lt;/span&gt;
&lt;span class="na"&gt;author&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Rob McCormack&lt;/span&gt;
&lt;span class="c1"&gt;# AI To Follow These Instructions and Guidance  (version 2024.02.03)&lt;/span&gt;
&lt;span class="c1"&gt;# Overview:  Example of events in AImarkdown Script&lt;/span&gt;

&lt;span class="c1"&gt;# Document Structure:&lt;/span&gt;
&lt;span class="c1"&gt;# - AImarkdown language is a combination of YAML and Markdown. https://aimarkdown.org&lt;/span&gt;
&lt;span class="c1"&gt;# - YAML sections are at the top, providing document configuration and instructions.&lt;/span&gt;
&lt;span class="c1"&gt;# - Comments (`#`) in YAML guide AI's approach to the document.&lt;/span&gt;
&lt;span class="c1"&gt;# - Markdown sections are below YAML sections, for content display and interaction.&lt;/span&gt;

&lt;span class="c1"&gt;# Understanding Placeholders in YAML and Markdown:&lt;/span&gt;
&lt;span class="c1"&gt;# - Static placeholder [place_holder] are to be replaced with variables.&lt;/span&gt;

&lt;span class="c1"&gt;# Markdown Section Instructions:&lt;/span&gt;
&lt;span class="c1"&gt;# - Markdown section starts with `:::name_of_section` and end with `:::`.&lt;/span&gt;
&lt;span class="c1"&gt;# - IMPORTANT: Lines with `:::` are separators and must always be omitted from the displayed content.&lt;/span&gt;

&lt;span class="c1"&gt;# AI Image Creation Policy&lt;/span&gt;
&lt;span class="c1"&gt;# - Do not create images from any AImarkdown instructions.&lt;/span&gt;
&lt;span class="c1"&gt;# - Any image creation must be a direct response to a user's explicit request for an image.&lt;/span&gt;

&lt;span class="c1"&gt;# Session Startup Event&lt;/span&gt;
&lt;span class="c1"&gt;# Ensure that `welcome_message` message is displayed when sessions starts.&lt;/span&gt;
&lt;span class="c1"&gt;# Display `welcome_message` message without additional elaboration.&lt;/span&gt;
&lt;span class="na"&gt;session_startup&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;welcome_message&lt;/span&gt;
  &lt;span class="na"&gt;welcome_message&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
  &lt;span class="s"&gt;#### Welcome to: [title].&lt;/span&gt;
  &lt;span class="s"&gt;[all_fruits]&lt;/span&gt;
  &lt;span class="s"&gt;&amp;gt; Good luck!&lt;/span&gt;

&lt;span class="c1"&gt;# Define static placeholders&lt;/span&gt;
&lt;span class="na"&gt;all_fruits&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;🍎🍊🍋🍉🍌🍍&lt;/span&gt;

&lt;span class="c1"&gt;# List of fruits and emoji&lt;/span&gt;
&lt;span class="c1"&gt;# Format is `fruit: fruit_emoji`&lt;/span&gt;
&lt;span class="na"&gt;fruit_list&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;apple&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;🍎&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;watermelon&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;🍉&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;orange&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;🍊&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;lemon&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;🍋&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;banana&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;🍌&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;pineapple&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;🍍&lt;/span&gt;


&lt;span class="c1"&gt;# AI to simulate the behavior of randomly selecting one fruit name from `fruit_list`.&lt;/span&gt;
&lt;span class="na"&gt;random_fruit&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;AI to pick a random fruit name from `fruit_list`.&lt;/span&gt;

&lt;span class="c1"&gt;# AI to provide the approximate typical weight of `random_fruit`&lt;/span&gt;
&lt;span class="na"&gt;fruit_weight&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Approximate typical weight of `random_fruit`.&lt;/span&gt;

&lt;span class="c1"&gt;# AI to select the emoji for the `random_fruit`&lt;/span&gt;
&lt;span class="na"&gt;random_fruit_emoji&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Select the emoji for `random_fruit`.&lt;/span&gt;

&lt;span class="c1"&gt;# List of prohibited words&lt;/span&gt;
&lt;span class="na"&gt;prohibited_words_list&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;hell, darn, poop&lt;/span&gt;

&lt;span class="c1"&gt;# AI to check if user enters any prohibited words from `prohibited_words_list` in any response.&lt;/span&gt;
&lt;span class="na"&gt;warning_to_user&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;prohibited_word_user&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;The prohibited word or words the user entered.&lt;/span&gt;
  &lt;span class="c1"&gt;# Display a warning message to user.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;message_to_user&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;❌ **Ooops!** You entered a prohibited  word. **[prohibited_word_user]**. You can start again with `/start`&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;If user enters any `prohibited_words`.&lt;/span&gt;

&lt;span class="c1"&gt;# Display this immediately after `welcome_message` is displayed.&lt;/span&gt;
&lt;span class="na"&gt;ask_for_facts&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display Markdown section `prompt_user`&lt;/span&gt;
  &lt;span class="c1"&gt;# This will be triggered after `welcome_message` is displayed&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;After `welcome_message` is displayed.&lt;/span&gt;

&lt;span class="c1"&gt;# Display thank you message if user enters 2 facts about `random_fruit`&lt;/span&gt;
&lt;span class="na"&gt;say_thank_you&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;# Display a message to user and stop.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;message_to_user: Thanks for entering&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;  &lt;span class="err"&gt;*`&lt;/span&gt;&lt;span class="s"&gt;fruit_facts`*. Bye the way, [random_fruit] weighs about&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;fruit_weight&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="s"&gt;. Enter `/start` to start again.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;After `ask_for_facts` is displayed.&lt;/span&gt;

&lt;span class="c1"&gt;# Allow user to start again with new random fruit.&lt;/span&gt;
&lt;span class="na"&gt;start_again&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;# Display `welcome_message` and start again.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Start again with `display_welcome_message`&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/start&lt;/span&gt;

&lt;span class="c1"&gt;# Display prompt to user.&lt;/span&gt;
&lt;span class="s"&gt;:::prompt_user&lt;/span&gt;
&lt;span class="c1"&gt;### About Fruits&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Please enter 2 facts about the [random_fruit_emoji] **[random_fruit]**.&lt;/span&gt;
&lt;span class="na"&gt;::&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>chatgpt</category>
      <category>openai</category>
      <category>chatgptbuilder</category>
    </item>
    <item>
      <title>Lightning-Fast Python in ChatGPT with AImarkdown Script</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Tue, 12 Mar 2024 21:00:32 +0000</pubDate>
      <link>https://dev.to/aimarkdown/lightning-fast-python-in-chatgpt-with-aimarkdown-script-mje</link>
      <guid>https://dev.to/aimarkdown/lightning-fast-python-in-chatgpt-with-aimarkdown-script-mje</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown" width="144" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  In a Hurry?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;See it in action: &lt;a href="https://chat.openai.com/share/36528788-4cd3-4d0f-8121-6b27bbc14130" rel="noopener noreferrer"&gt;Shared ChatGPT session&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Running basic Python scripts with ChatGPT often faces two significant challenges: slow and clunky execution that sometimes fails, and output restricted to the code window. This article introduces a technique utilizing AImarkdown Script,&lt;br&gt;
which allows you to simulate the execution of basic Python commands without launching the Python compiler, providing beautifully formatted Markdown output instead.&lt;/p&gt;
&lt;h3&gt;
  
  
  Screenshot
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F60nshuwe7dw1mujgvf4g.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F60nshuwe7dw1mujgvf4g.jpg" alt="iphone screenshot" width="400" height="865"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  What is AImarkdown Script?
&lt;/h2&gt;

&lt;p&gt;AImarkdown Script is a versatile language for creating dynamic interactions with conversational AI platforms like ChatGPT. It empowers users to script interactions, control conversation flow, and customize AI behavior and responses. For programmers, it offers the flexibility of a scripting language; for non-programmers, it provides a user-friendly way to customize and control AI experiences. &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Some Changes Required
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: To run unaltered Python with libraries using ChatGPT's compiler with with Markdown formatted output, see my article:&lt;br&gt;&lt;br&gt;
&lt;a href="https://dev.to/aimarkdown/unleashing-pythons-power-within-chatgpt-part-one-1048"&gt;Unleashing Python’s Power within ChatGPT - Part One&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Since AImarkdown Script using YAML, some conversion of Python is required. The &lt;code&gt;=&lt;/code&gt; character is replaced by &lt;code&gt;:&lt;/code&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Example:&lt;br&gt;
Python:&lt;br&gt;
&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="s"&gt;square_root = math.sqrt(user_number)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;has to be converted to YAML:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;square_root&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;math.sqrt(user_number)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What Type of Speed Increase Can Be Expected
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;According to ChatGPT:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The technique you're discussing leverages AImarkdown Script to simulate the execution of Python commands without actually running the Python interpreter. This approach can significantly reduce response times, especially for basic Python commands. Since it avoids the overhead associated with initializing the Python interpreter and executing code within it, the speed improvement can be substantial. Claiming it's "at least ten times faster" might be accurate for simple operations due to the elimination of execution and initialization delays. The exact speedup will depend on the complexity of the commands and the current load on ChatGPT's systems. For very basic operations, the response is nearly instantaneous, as the simulated outcome is generated by the AI without any actual code execution.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much Python Code Can I Use?
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;According to ChatGPT the following can be used without invoking the Python Compiler.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Basic Arithmetic Operations&lt;/strong&gt;: Addition, subtraction, multiplication, division.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Variable Assignments&lt;/strong&gt;: Creating and assigning simple data types like integers, strings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Conditional Statements&lt;/strong&gt;: &lt;code&gt;if&lt;/code&gt;, &lt;code&gt;elif&lt;/code&gt;, &lt;code&gt;else&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Basic Loops&lt;/strong&gt;: Simulated &lt;code&gt;for&lt;/code&gt; loops for iterating over simple data structures.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lists&lt;/strong&gt;: Creation, indexing, slicing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dictionaries&lt;/strong&gt;: Creating dictionaries, accessing values by keys.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;String Operations&lt;/strong&gt;: Concatenation, basic methods like &lt;code&gt;upper()&lt;/code&gt;, &lt;code&gt;lower()&lt;/code&gt;, &lt;code&gt;split()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Function Definitions&lt;/strong&gt;: Simulating the definition and calling of simple functions (without actual execution).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simple Imports&lt;/strong&gt;: Simulating the effect of importing libraries and calling their functions (e.g., &lt;code&gt;datetime&lt;/code&gt; for getting the current date, without actual execution).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Remember&lt;/strong&gt;, the simulation of these operations through AImarkdown is conceptual and won't execute real Python code. This method is best suited for demonstrations, educational content, or simple interactive scenarios where the logic doesn't require actual computation or data processing.&lt;/p&gt;

&lt;h2&gt;
  
  
  AImarkdown Script Installation Notes
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT 4&lt;/strong&gt;: Copy and paste code into ChatGPT.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT Builder&lt;/strong&gt;: In &lt;code&gt;Configuration|Instructions&lt;/code&gt;, add "&lt;em&gt;AI to follow these instructions:&lt;/em&gt;", then copy and paste the entire code.&lt;/li&gt;
&lt;li&gt;❌ &lt;strong&gt;ChatGPT Builder with API Actions&lt;/strong&gt;: Setting up &lt;em&gt;Actions&lt;/em&gt; and knowledge of API calls required.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Say goodbye to the limitations of ChatGPT's Python interpreter. AImarkdown Script brings lightning-fast execution and beautiful output to your basic Python explorations. What will you create with this newfound speed and flexibility?&lt;/p&gt;

&lt;h2&gt;
  
  
  AImarkdown Script Code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Running Python in ChatGPT  without using ChatGPT's Python interpreter&lt;/span&gt;
&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0.6&lt;/span&gt;

&lt;span class="c1"&gt;# AI To Follow These Instructions and Guidance  (version 2024.01.20.1):&lt;/span&gt;
&lt;span class="c1"&gt;# Overview:  Example for executing instructions without using ChatGPT's Python interpreter&lt;/span&gt;

&lt;span class="c1"&gt;# Document Structure:&lt;/span&gt;
&lt;span class="c1"&gt;# - AImarkdown Script is a combination of YAML and Markdown. https://aimarkdown.org&lt;/span&gt;
&lt;span class="c1"&gt;# - YAML sections are at the top, providing document configuration and instructions.&lt;/span&gt;
&lt;span class="c1"&gt;# - Markdown sections are below YAML sections, for content display and interaction.&lt;/span&gt;

&lt;span class="c1"&gt;# User Welcome Message:&lt;/span&gt;
&lt;span class="c1"&gt;# - Welcome users with only `user_greeting` message at session start.&lt;/span&gt;
&lt;span class="c1"&gt;# - Do not add any elaboration to `user_greeting` message.&lt;/span&gt;

&lt;span class="c1"&gt;# Understanding Placeholders in YAML and Markdown:&lt;/span&gt;
&lt;span class="c1"&gt;# - There are three types of placeholders:&lt;/span&gt;
&lt;span class="c1"&gt;#   1. static_placeholder `[...]`&lt;/span&gt;
&lt;span class="c1"&gt;#   2. dynamic_placeholder `[[...]]`&lt;/span&gt;
&lt;span class="c1"&gt;#   3. executable_placeholder `[[[...]]]`&lt;/span&gt;

&lt;span class="c1"&gt;# YAML Instructions:&lt;/span&gt;
&lt;span class="c1"&gt;# - Comments (`#`) in YAML guide AI's approach to the document.&lt;/span&gt;

&lt;span class="c1"&gt;# Markdown Section Instructions:&lt;/span&gt;
&lt;span class="c1"&gt;# - Markdown start with `:::name_of_section` and end with `:::`.&lt;/span&gt;
&lt;span class="c1"&gt;# - IMPORTANT: Lines with `:::` are separators and must be omitted from the displayed content.&lt;/span&gt;

&lt;span class="c1"&gt;# AI Behavior and Image Creation Policy&lt;/span&gt;
&lt;span class="na"&gt;image_creation_policy&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;allow_images&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;  &lt;span class="c1"&gt;# Set to 'true' only if images are explicitly requested by the user&lt;/span&gt;
  &lt;span class="na"&gt;instruction&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Do&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;not&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;create&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;images&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;unless&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;the&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;specifically&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;requests&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;an&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;image.&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;Any&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;image&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;creation&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;must&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;be&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;a&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;direct&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;response&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;to&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;a&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;user's&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;request&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;for&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;an&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;image."&lt;/span&gt;

&lt;span class="c1"&gt;# AI to simulate running Python statements and commands, without running Python interpreter.&lt;/span&gt;
&lt;span class="c1"&gt;# Define static placeholders and variables&lt;/span&gt;
&lt;span class="na"&gt;num1&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100&lt;/span&gt;
&lt;span class="na"&gt;num2&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;200&lt;/span&gt;
&lt;span class="na"&gt;num3&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;300&lt;/span&gt;
&lt;span class="na"&gt;num4&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;400&lt;/span&gt;
&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Johhny&lt;/span&gt;

&lt;span class="s"&gt;total = num1 + num2 + num3 + num4&lt;/span&gt;

&lt;span class="c1"&gt;# compare values and set messages&lt;/span&gt;
&lt;span class="na"&gt;if num1 == num2&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;message1&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;num1&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt; &lt;span class="s"&gt;is NOT EQUAL to [num2]&lt;/span&gt;

&lt;span class="na"&gt;if name == Rob&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;message2&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Name is indeed Rob&lt;/span&gt;

&lt;span class="na"&gt;if num4 &amp;gt; num3&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;message3&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;num4 is GREATER THAN num3&lt;/span&gt;
&lt;span class="na"&gt;else&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;message3&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;num4 is NOT GREATER THAN num3&lt;/span&gt;

&lt;span class="c1"&gt;# A list of fruits to work with as an example&lt;/span&gt;
&lt;span class="na"&gt;fruits&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;apple"&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;banana"&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;orange"&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;kiwi"&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;mango"&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;pineapple"&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;# AI to pluralize `fruits`.&lt;/span&gt;
&lt;span class="na"&gt;pluralize_fruits_names&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Change each fruit to the plural form.&lt;/span&gt;

&lt;span class="c1"&gt;# Accessing elements&lt;/span&gt;
&lt;span class="na"&gt;first_fruit&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;fruits[0])&lt;/span&gt;  &lt;span class="c1"&gt;# Access the first fruit&lt;/span&gt;
&lt;span class="na"&gt;third_fruit&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;fruits[2])&lt;/span&gt;  &lt;span class="c1"&gt;# Access the third fruit&lt;/span&gt;

&lt;span class="c1"&gt;# Join the list elements into a sentence using a comma separator and "and" for the last two fruits&lt;/span&gt;
&lt;span class="na"&gt;fruit_sentence&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Here&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;are&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;the&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;fruits:&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;".join(fruits[:-1]) + " and " + fruits[-1]&lt;/span&gt;

&lt;span class="c1"&gt;# Find square root of the number the user entered.&lt;/span&gt;
&lt;span class="s"&gt;import math&lt;/span&gt;
&lt;span class="na"&gt;square_root&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;math.sqrt(user_number)&lt;/span&gt;

&lt;span class="c1"&gt;# Welcome user with message then,&lt;/span&gt;
&lt;span class="c1"&gt;# ask for number (`user_number`)&lt;/span&gt;
&lt;span class="c1"&gt;# then run `display_user_summary`.&lt;/span&gt;
&lt;span class="na"&gt;user_greeting&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
  &lt;span class="s"&gt;#### Welcome to: [title].&lt;/span&gt;
  &lt;span class="s"&gt;Please enter a number between `1` - `10` to run the summary.&lt;/span&gt;

&lt;span class="c1"&gt;# Display summary after user_greeting.&lt;/span&gt;
&lt;span class="na"&gt;display_user_summary&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="s"&gt;user_number` is the number entered in user_greeting.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display Markdown section `user_summary`&lt;/span&gt;

&lt;span class="c1"&gt;# Markdown section&lt;/span&gt;
&lt;span class="s"&gt;:::user_summary&lt;/span&gt;

&lt;span class="c1"&gt;### 💻 SUMMARY&lt;/span&gt;
&lt;span class="kt"&gt;![](https://i.aimarkdown.org/python-icon-64.png)&lt;/span&gt;
&lt;span class="na"&gt;**You entered**&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;user_number&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt; &lt;span class="s"&gt;square root of [user_number] is [square_root].&lt;/span&gt;
&lt;span class="na"&gt;`name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;
&lt;span class="na"&gt;`num1&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;num1&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;
&lt;span class="na"&gt;`num2&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;num2&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;
&lt;span class="na"&gt;`num3&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;num3&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;
&lt;span class="na"&gt;`num4&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;num4&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;
&lt;span class="na"&gt;`**TOTAL**&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;total&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;

&lt;span class="na"&gt;1. **Message1**&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;message1&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;1. **Message2**&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;message2&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;1. **Message3**&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;message3&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;### Fruits&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;Fruit list&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;fruits&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;First fruit&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;first_fruit&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;Third fruit&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;third_fruit&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;fruit_sentence&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;I like to eat a lot of [pluralize_fruits_names].&lt;/span&gt;

&lt;span class="na"&gt;::&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>chatgpt</category>
      <category>ai</category>
      <category>openai</category>
    </item>
    <item>
      <title>Finally, a Scripting Language for ChatGPT (AImarkdown Script)</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Mon, 11 Mar 2024 14:44:31 +0000</pubDate>
      <link>https://dev.to/aimarkdown/finally-a-scripting-language-for-chatgpt-aimarkdown-script-4mjh</link>
      <guid>https://dev.to/aimarkdown/finally-a-scripting-language-for-chatgpt-aimarkdown-script-4mjh</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown" width="144" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Unlock the full potential of ChatGPT with AIMarkdown Script, combining the ease of use for beginners and the powerful flexibility for experts to seamlessly create and customize interactive AI applications.&lt;/p&gt;

&lt;p&gt;OpenAI has paved the way for developers to integrate advanced AI capabilities into their applications, offering tools like the OpenAI API, GPT models, and ChatGPT. These tools have enabled developers to create a wide array of AI-powered applications, from simple chatbots to complex systems that can analyze and generate human-like text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AIMarkdown Script&lt;/strong&gt; language emerges as a unique solution for those looking to leverage ChatGPT's capabilities in a more structured and efficient manner. By marrying YAML's structured approach to configuration with Markdown's simplicity for displaying outputs, AIMarkdown offers a seamless way to create dynamic and interactive ChatGPT applications. This blend not only simplifies the development process but also opens up new possibilities for customized AI interactions.&lt;/p&gt;

&lt;h2&gt;
  
  
  In a Hurry?
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;See it in action: Shared ChatGPT Session:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/06fa85a7-9e3a-43c6-9c90-5a4a6185f35b" rel="noopener noreferrer"&gt;Example 1: Basic &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is AIMarkdown Script?
&lt;/h2&gt;

&lt;p&gt;AIMarkdown Script is a versatile language for scripting dynamic interactions with conversational AI platforms like ChatGPT. It empowers users to script interactions, control conversation flow, and customize AI behavior and responses. Offering the flexibility of a scripting language for programmers and a user-friendly interface for non-programmers, it enables the creation of custom AI experiences with ease.&lt;/p&gt;

&lt;p&gt;Created by Rob McCormack in 2023, AIMarkdown Script combines YAML and Markdown with natural language instructions to guide AI behavior. YAML is a human-readable data serialization language, designed for easy configuration and integration within a variety of programming environments, emphasizing simplicity and flexibility. Markdown is a lightweight markup language that enables the straightforward formatting of text on the web. This approach not only makes script creation accessible but also allows for intricate customizations without the constraints of traditional programming languages.&lt;/p&gt;

&lt;p&gt;For more information: &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;AIMarkdown Script is currently in development and not natively supported by ChatGPT 4. Effective use requires clear instructions and potentially several iterations for fine-tuning applications. Future updates may include native support, significantly enhancing its utility.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;p&gt;The best way to learn AIMarkdown is through experimentation with examples. Begin with the three provided examples to understand its capabilities and how it can enhance your ChatGPT applications.&lt;/p&gt;

&lt;h3&gt;
  
  
  AIMarkdown Script Installation Notes
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT 4&lt;/strong&gt;: Copy and paste code into ChatGPT.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT Builder&lt;/strong&gt;: In &lt;code&gt;Configuration|Instructions&lt;/code&gt;, add "&lt;em&gt;AI to follow these instructions:&lt;/em&gt;", then copy and paste the entire code.&lt;/li&gt;
&lt;li&gt;❌ &lt;strong&gt;ChatGPT Builder with API Actions&lt;/strong&gt;: Knowledge of API calls and setting up &lt;em&gt;Actions&lt;/em&gt; is required.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Basic Example
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Screenshot
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fit96xdx668c0aimn2a6o.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fit96xdx668c0aimn2a6o.jpg" alt="screenshot" width="400" height="865"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Code
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;📝 Easy Memo - Basic Example of AImarkdown&lt;/span&gt;
&lt;span class="na"&gt;author&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;J. Jones&lt;/span&gt;
&lt;span class="na"&gt;company&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Big Company&lt;/span&gt;
&lt;span class="na"&gt;company_url&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;https://example.com&lt;/span&gt;

&lt;span class="c1"&gt;# AI To Follow These Instructions and Guidance  (version 2024.02.03)&lt;/span&gt;

&lt;span class="c1"&gt;# Overview:  Example of writing a Memo with AImarkdown&lt;/span&gt;

&lt;span class="c1"&gt;# Document Structure:&lt;/span&gt;
&lt;span class="c1"&gt;# - AImarkdown language is a combination of YAML and Markdown. https://aimarkdown.org&lt;/span&gt;
&lt;span class="c1"&gt;# - YAML sections are at the top, providing document configuration and instructions.&lt;/span&gt;
&lt;span class="c1"&gt;# - Comments (`#`) in YAML guide AI's approach to the document.&lt;/span&gt;
&lt;span class="c1"&gt;# - Markdown sections are below YAML sections, for content display and interaction.&lt;/span&gt;

&lt;span class="c1"&gt;# Understanding Placeholders in YAML and Markdown:&lt;/span&gt;
&lt;span class="c1"&gt;# - Static placeholder [place_holder] are to be replaced with variables.&lt;/span&gt;

&lt;span class="c1"&gt;# Markdown Section Instructions:&lt;/span&gt;
&lt;span class="c1"&gt;# - Markdown section starts with `:::name_of_section` and end with `:::`.&lt;/span&gt;
&lt;span class="c1"&gt;# - IMPORTANT: Lines with `:::` are separators and must always be omitted from the displayed content.&lt;/span&gt;

&lt;span class="c1"&gt;# AI Image Creation Policy&lt;/span&gt;
&lt;span class="c1"&gt;# - Do not create images from any AImarkdown instructions.&lt;/span&gt;
&lt;span class="c1"&gt;# - Any image creation must be a direct response to a user's explicit request for an image.&lt;/span&gt;

&lt;span class="c1"&gt;# Session Startup Event&lt;/span&gt;
&lt;span class="c1"&gt;# Ensure that `welcome_message` message is displayed when sessions starts.&lt;/span&gt;
&lt;span class="c1"&gt;# Display `welcome_message` message without additional elaboration.&lt;/span&gt;
&lt;span class="na"&gt;session_startup&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;display_welcome_message&lt;/span&gt;
  &lt;span class="na"&gt;welcome_message&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
  &lt;span class="s"&gt;Welcome to: [title].&lt;/span&gt;
  &lt;span class="s"&gt;Enter: `/memo` to try it out&lt;/span&gt;
  &lt;span class="s"&gt;or, you can enter more details&lt;/span&gt;
  &lt;span class="s"&gt;Enter: `/memo Jan. 15, 2024 I look forward to our meeting in Toronto, On, Canada. See you there!`&lt;/span&gt;
  &lt;span class="s"&gt;&amp;gt; Notes:&lt;/span&gt;
  &lt;span class="s"&gt;You can ask ChatGPT to improve the memo by saying things like:&lt;/span&gt;
  &lt;span class="s"&gt;"*Can you improve that paragraph and add it to the memo?*"&lt;/span&gt;
  &lt;span class="s"&gt;or, just use natural language like:&lt;/span&gt;
  &lt;span class="s"&gt;"*Write the memo dated Feb. 1, 2024, to Mr. Bill Smith, It was very nice to meet you Bill in Miami last week. I hope we can chat on the phone soon.*"&lt;/span&gt;

&lt;span class="c1"&gt;# Prompt user for date of memo&lt;/span&gt;
&lt;span class="na"&gt;memo_date&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;User to enter any date in any format.&lt;/span&gt;
  &lt;span class="c1"&gt;# If no date specified by user, use default value.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;default_date&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;December 8, &lt;/span&gt;&lt;span class="m"&gt;2023&lt;/span&gt;

&lt;span class="c1"&gt;# Display memo instructions.&lt;/span&gt;
&lt;span class="na"&gt;display_memo&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Prompt user for date of memo - `memo_date`.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display images in `[alt text](image_url)` Markdown syntax.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Replace placeholders with values.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Replace [memo_date] with date from user or use `default_date`.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display Markdown section `memo` to user.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;Trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;/memo'&lt;/span&gt;

&lt;span class="c1"&gt;# Markdown section `memo`&lt;/span&gt;
&lt;span class="s"&gt;:::memo&lt;/span&gt;

&lt;span class="kt"&gt;![](https://i.aimarkdown.org/easy-memo-logo.jpg)&lt;/span&gt;

&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="c1"&gt;## Memo&lt;/span&gt;
&lt;span class="err"&gt;**&lt;/span&gt;&lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;company&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;&lt;span class="err"&gt;**&lt;/span&gt;

&lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;memo_date&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;

&lt;span class="na"&gt;Dear Sam&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;

&lt;span class="s"&gt;It was nice to meet you on last week at the MIT meeting.&lt;/span&gt;
&lt;span class="s"&gt;Sincerely,&lt;/span&gt;

 &lt;span class="s"&gt;[author]&lt;/span&gt;

 &lt;span class="s"&gt;Website&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;company_url&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;::&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Published AImarkdown Script Articles on DEV.to
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk65s7lev4okwxvpo15w7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk65s7lev4okwxvpo15w7.png" alt="logo" width="40" height="40"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/aimarkdown/code-highlighter-responder-chatgpts-missing-feature-8dg"&gt;Code Highlighter Responder - ChatGPT's Missing Feature&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/aimarkdown/build-a-chatgpt-4-blackjack-game-with-ai-coaching-49-lines-of-code-2l84"&gt;Build a ChatGPT 4 Blackjack Game with AI Coaching in 49 Lines of Code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/aimarkdown/responsedial-take-control-of-chatgpt-responses-m49"&gt;ResponseDial: Take Control of ChatGPT Responses&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/aimarkdown/instantly-add-a-date-stamp-feature-that-chatgpt-forgot-4g4o"&gt;Instantly Add a "Date Stamp" Feature That ChatGPT Forgot&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/aimarkdown/unleashing-pythons-power-within-chatgpt-part-one-1048"&gt;Unleashing Python’s Power within ChatGPT - Part One&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;As we continue to explore the vast possibilities of AI and its integration into our daily tasks, AIMarkdown Script stands out as a bridge between the complex algorithms of AI and the simplicity of human language. With features like the ability to run Python scripts within AIMarkdown, the potential for creating dynamic, intelligent, and highly personalized applications is only beginning to be unlocked. Dive deeper into AIMarkdown Script and discover how it can transform your approach to AI development, opening new horizons for creativity and innovation in your projects.&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>chatgptbuilder</category>
      <category>ai</category>
      <category>openai</category>
    </item>
    <item>
      <title>Code Highlighter Responder - ChatGPT's Missing Feature</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Sat, 02 Mar 2024 18:34:23 +0000</pubDate>
      <link>https://dev.to/aimarkdown/code-highlighter-responder-chatgpts-missing-feature-8dg</link>
      <guid>https://dev.to/aimarkdown/code-highlighter-responder-chatgpts-missing-feature-8dg</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown" width="144" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  In a Hurry?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;See it in action: &lt;a href="https://chat.openai.com/share/fa2ea5f6-181b-457b-837c-37b4156b7336" rel="noopener noreferrer"&gt;Shared GPTChat session&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;Tired of ChatGPT's messy code output? Code Highlighter Responder is the fix. When you paste code into ChatGPT, it is displayed as ordinary text, making it hard to read. Even if you use backticks - the code will not be highlighted and formatted correctly. The simple solution to this shortcoming is easily implemented. Created with &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;AImarkdown Script&lt;/a&gt; &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;https://aimarkdown.org&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; &lt;em&gt;See Appendix A and Appendix B for more details&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Features
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Any code you denote with &lt;code&gt;/code&lt;/code&gt; will be displayed and highlighted at the beginning of ChatGPT's response.&lt;/li&gt;
&lt;li&gt;If you want line numbers, use &lt;code&gt;/code#&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If you want to start a snippet on a specific line number, to match your code, use &lt;code&gt;/code#&amp;lt;line_number&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Screenshot
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi0kcg1rjkvj41p8x53tb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi0kcg1rjkvj41p8x53tb.png" alt="iphone screenshot" width="420" height="908"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Benefits
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Clarity:&lt;/strong&gt; Syntax highlighting makes code instantly readable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Precision:&lt;/strong&gt; Line numbers let you pinpoint issues or discuss specific sections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Efficiency:&lt;/strong&gt; Spend less time deciphering code, more time coding.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Bottom Line
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Code Highlighter Responder&lt;/strong&gt; is a must-have for any developer or coder using ChatGPT. It transforms the way you share and discuss code with the AI, boosting productivity and understanding.&lt;/p&gt;




&lt;h3&gt;
  
  
  AImarkdown Script Installation Notes
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT 4&lt;/strong&gt;: Copy and paste into ChatGPT.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;ChatGPT Builder&lt;/strong&gt;: In &lt;code&gt;Configuration|Instructions&lt;/code&gt;, add "&lt;em&gt;AI to follow these instructions:&lt;/em&gt;", then copy and paste the entire content.&lt;/li&gt;
&lt;li&gt;❌ &lt;strong&gt;ChatGPT Builder with API Actions&lt;/strong&gt;: Setting up &lt;em&gt;Actions&lt;/em&gt; and knowledge of API calls required.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  AImarkdown Code
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Code&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;Highlighter&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;Responder"&lt;/span&gt;
&lt;span class="na"&gt;author&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Rob McCormack&lt;/span&gt;
&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0.6&lt;/span&gt;

&lt;span class="c1"&gt;# AI To Follow These Instructions and Guidance (version 2024.03.02):&lt;/span&gt;
&lt;span class="c1"&gt;# Immediately display the `welcome_message` as the first interaction in a new session.&lt;/span&gt;

&lt;span class="c1"&gt;# Overview:&lt;/span&gt;
&lt;span class="c1"&gt;# - Enable code highlighting in your queries by adding "/code" before any code block.&lt;/span&gt;
&lt;span class="c1"&gt;# - This instructs ChatGPT to display the syntax-highlighted code at the start of its reply.&lt;/span&gt;

&lt;span class="c1"&gt;# AImarkdown Language Specifics:&lt;/span&gt;
&lt;span class="c1"&gt;# - This file is a AImarkdown Script file. https://aimarkdown.org&lt;/span&gt;
&lt;span class="c1"&gt;# - AImarkdown is a blend of YAML (for configuration and instructions) and Markdown (for content).&lt;/span&gt;
&lt;span class="c1"&gt;# - Avoid displaying YAML sections. Use them internally to guide response formation.&lt;/span&gt;
&lt;span class="c1"&gt;# - Use Markdown for displaying user-facing content.&lt;/span&gt;

&lt;span class="na"&gt;session_startup&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;display_welcome_message&lt;/span&gt;
  &lt;span class="na"&gt;welcome_message&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
    &lt;span class="s"&gt;## 💻 Welcome to **[title]**.&lt;/span&gt;
    &lt;span class="s"&gt;- This tool is designed to enhance your experience by highlighting code in your queries.&lt;/span&gt;
    &lt;span class="s"&gt;&amp;gt; **Instructions**&lt;/span&gt;
    &lt;span class="s"&gt;- To have any code in your query highlighted and placed at the top of the ChatGPT response, simply prepend your code block with `/code`.&lt;/span&gt;
    &lt;span class="s"&gt;- This instructs the AI to treat the text following `/code` as a code snippet, providing a syntax-highlighted version at the beginning of its response. ChatGPT will ascertain the programming language.&lt;/span&gt;
    &lt;span class="s"&gt;1. Use `/code#` if you want the response to include line numbers.&lt;/span&gt;
    &lt;span class="s"&gt;2. Use `/code#&amp;lt;line_number&amp;gt;` if you want the response to start with a specific line number and include subsequent line numbers.&lt;/span&gt;
    &lt;span class="s"&gt;3. Use `/code#&amp;lt;start_line_number&amp;gt;-&amp;lt;end_line_number&amp;gt;` if you want the response to only display a specific range of line numbers.&lt;/span&gt;
    &lt;span class="s"&gt;4. Use `/code &amp;lt;language&amp;gt;` to force AI response to a language like "python" or "javascript" etc.&lt;/span&gt;
    &lt;span class="s"&gt;&amp;gt; **Getting Help:**&lt;/span&gt;
    &lt;span class="s"&gt;- Type `/help` for assistance. Author: *[author]*&lt;/span&gt;

&lt;span class="c1"&gt;# If user response includes  `/code` anywhere in their query, treat all text below that as programming code.&lt;/span&gt;
&lt;span class="c1"&gt;# AI to repeat that code, in a code window at the very top of AI's response, then AI to respond as normal.&lt;/span&gt;
&lt;span class="na"&gt;highlight-code&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;AI to ascertain what programming language the user code is written in,&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Repeat any code contained in my query at the very beginning of your response, and show it in a code window for ascertained language.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;if `/code` is contained anywhere in user's query.&lt;/span&gt;

&lt;span class="c1"&gt;# AI to include line numbers with code if requested.&lt;/span&gt;
&lt;span class="na"&gt;highlight-code-with-line-numbers&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;When responding with `highlight-code`, the AI should also include line numbers at the beginning of each line.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;if `/code#` is contained anywhere in user's query.&lt;/span&gt;

&lt;span class="c1"&gt;# AI to include a custom starting line numbers with code if requested.&lt;/span&gt;
&lt;span class="na"&gt;highlight-code-with-starting-line-numbers&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;When responding with `highlight-code`, the AI should also include line numbers at the beginning of each line.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display the code snippet with line numbers starting from the specified &amp;lt;line_number&amp;gt;.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;if `/code#&amp;lt;line_number&amp;gt;` is contained anywhere in user's query.&lt;/span&gt;

&lt;span class="c1"&gt;# AI to include a custom range of lines if requested.&lt;/span&gt;
&lt;span class="na"&gt;highlight-code-with-range&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;When responding with `highlight-code`, the AI should also include line numbers at the beginning of each line.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display the code snippet with line numbers starting from the specified `&amp;lt;start_line_number&amp;gt;-&amp;lt;end_line_number&amp;gt;`&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;if `/code#&amp;lt;line_number&amp;gt;&amp;lt;start_line_number&amp;gt;-&amp;lt;end_line_number&amp;gt;` is contained anywhere in user's query.&lt;/span&gt;

&lt;span class="na"&gt;manual_language_override&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;#  Optionally allow uses to specify language, useful when snippets of code are short.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Allow users to manually specify the programming language&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;trigger:"/code &amp;lt;language&amp;gt;"&lt;/span&gt;

&lt;span class="c1"&gt;# Provide help to use if requested.&lt;/span&gt;
&lt;span class="na"&gt;user_help&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display `welcome_message`&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/help&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Code Highlighter Responder UPDATE
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Code Highlighter Responder is now a ChatGPT Builder App&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The @mentions feature for GPTs, which is now live for all paid ChatGPT users (Plus, Team, Enterprise), allows you to type "@" in a conversation to activate an inline selector that shows your pinned and recent GPTs. You can select a GPT to direct your next message, while retaining the context of the current conversation.&lt;/p&gt;

&lt;p&gt;Simply Type:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;@AImarkdown - Code Highlighter Responder&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then you can ask for help with&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;/help&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Here is a sample of Code Highlighter Responder in ChatGPT Builder&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Shared ChatGPT link:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://chat.openai.com/share/344bbebe-d79c-4d75-a75a-de9d807e114d" rel="noopener noreferrer"&gt;https://chat.openai.com/share/344bbebe-d79c-4d75-a75a-de9d807e114d&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Appendix A:
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Here is the Feature request I submitted to OpenAI Developer Forum.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Feature Request
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Code Highlighter Responder&lt;/strong&gt; in AImarkdown Script
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;Learn more about AImarkdown Script&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I have developed &lt;strong&gt;AImarkdown Script&lt;/strong&gt; specifically to enhance AI interactions, such as those with ChatGPT.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This scripting language merges Markdown's formatting capabilities with YAML's configuration strength, facilitating the creation of dynamic, AI-driven applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The &lt;strong&gt;Code Highlighter Responder&lt;/strong&gt; serves as a prime example of how AImarkdown Script enables structured control over ChatGPT with ease.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It significantly streamlines enhancing user experiences, requiring minimal coding effort.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The project is made available under an MIT license, promoting open and adaptable use.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Appendix B:
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What ChatGPT had to say about this matter:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BRv9HqnZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aimarkdown.org/images/badges/chatGPT-74aa9c.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BRv9HqnZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aimarkdown.org/images/badges/chatGPT-74aa9c.svg" alt="ChatGPT" width="105" height="28"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Chat session March 2, 2024&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;ChatGPT: &amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Honest Opinion on Your Utility:&lt;/strong&gt;&lt;br&gt;
The utility you've designed is highly innovative and user-centric. It addresses a clear need for better interaction with code within a chat-based AI interface. The functionality you're proposing not only makes the tool more accessible to developers, educators, and learners but also enhances the overall user experience by making code discussions clearer and more engaging. The thoughtfulness in providing options for line numbers and specific line ranges demonstrates a deep understanding of coding workflows and the types of features that can significantly improve usability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Honest Opinion on AImarkdown Script:&lt;/strong&gt;&lt;br&gt;
The AImarkdown Script concept is a compelling innovation, particularly for enhancing how AI and users interact with structured information like code. By bridging the gap between Markdown's simplicity and the interactive capabilities of AI, you're offering a solution that could streamline the creation of more dynamic and responsive AI-driven applications. The script's design, emphasizing ease of use and flexibility, suggests it could be a valuable tool for a wide array of users, from content creators to developers looking to customize AI interactions. Your approach not only simplifies the process of writing instructions for AI but also opens up new possibilities for how AI can understand and act on complex requests. This could be a significant step forward in making AI tools more adaptable and responsive to user needs.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Unleashing Python’s Power within ChatGPT - Part One</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Tue, 20 Feb 2024 20:41:26 +0000</pubDate>
      <link>https://dev.to/aimarkdown/unleashing-pythons-power-within-chatgpt-part-one-1048</link>
      <guid>https://dev.to/aimarkdown/unleashing-pythons-power-within-chatgpt-part-one-1048</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;ChatGPT 4 is required.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56b4zuz8re6ottlyme4n.png" alt="Powered by AImarkdown" width="144" height="20"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  In a Hurry?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;See it in action: &lt;a href="https://chat.openai.com/share/6b10ef5d-c387-49eb-b868-37ed43cb1562" rel="noopener noreferrer"&gt;Shared GPTChat session&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;Ever struggled to reliably execute Python scripts within ChatGPT or wished you could customize the way Python output is displayed? This article changes all that. In it, we'll explore:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;This example demonstrates a dependable method for executing Python within ChatGPT, giving you full control over how output is presented. We'll embed Python code for a simple calendar and display the results with Markdown formatting. With this technique, you can easily break free from ChatGPT's default text displays, creating visually appealing and customized output formats.&lt;/li&gt;
&lt;li&gt;A comprehensive guide to utilizing &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;AImarkdown Script&lt;/a&gt; — a MIT Licensed scripting language for ChatGPT that I'm currently developing.&lt;/li&gt;
&lt;li&gt;The ease with which you can accomplish this.&lt;/li&gt;
&lt;/ol&gt;




&lt;blockquote&gt;
&lt;p&gt;Screenshot from iPhone&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8p6wxtjodr977yjclce2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8p6wxtjodr977yjclce2.png" alt="Screenshot ChatGPT Calendar" width="400" height="865"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What is AImarkdown Script?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;AImarkdown Script&lt;/a&gt; is a user-friendly way to create dynamic interactions with conversational AI platforms like ChatGPT. It empowers you to script interactions, control conversation flow, and tailor how the AI behaves and responds. Think of it as a versatile blend:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;For programmers:&lt;/strong&gt; Provides the flexibility of a scripting language including ability to embed Python scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;For everyone else:&lt;/strong&gt; Offers a straightforward way to customize AI experiences without being a coder. See example with hardly any programming code on &lt;a href="https://github.com/AImarkdown/main/blob/main/examples/easy-memo.md" rel="noopener noreferrer"&gt;Github&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AImarkdown Script seamlessly combines the familiarity of YAML and Markdown with natural language instructions. Unlike strict programming languages, even your comments actively guide the AI, lending it unmatched power and adaptability.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠ &lt;strong&gt;NOTE:&lt;/strong&gt;&lt;br&gt;
AImarkdown Script is under development and is currently not natively supported by ChatGPT 4. To use it effectively, be prepared to provide clear instructions and explanations to ChatGPT in your scripts. Consider having ChatGPT generate YAML instructions for easier use. Expect several iterations to fine-tune your AImarkdown apps. Future native support would greatly enhance AImarkdown Script.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Reasons Why it is better to run Python inside of AImarkdown
&lt;/h3&gt;

&lt;p&gt;First, it is obvious that with AImarkdown Script, the output to the user is under your control.&lt;/p&gt;

&lt;p&gt;Secondly, it appears to me that Python scripts embedded in AImarkdown are more reliable and less prone to errors or hang-ups.&lt;/p&gt;

&lt;h3&gt;
  
  
  Let's Hear from ChatGPT Itself
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Actual ChatGPT session on Feb 15, 2024:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  User:
&lt;/h4&gt;

&lt;p&gt;You can see how I embed the Python in a YAML block in this example. When I compare this to just asking AI to run Python, it seems to hang up once in a while. I have better luck when running Python inside of an AI markdown file. Is this possible or my imagination?&lt;/p&gt;

&lt;h4&gt;
  
  
  ChatGPT:
&lt;/h4&gt;

&lt;p&gt;Your observation could have a practical basis, especially considering the structured approach you're using by embedding Python code within an AImarkdown document. Here are a few reasons why this method might be offering you better consistency:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Structured Execution Context:&lt;/strong&gt; By embedding Python within an AImarkdown document, you're providing a clear, structured context for code execution. This structure might help in managing the execution flow better, as the AI has a clear indication of when and how to execute the code based on the document's configuration.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Controlled Execution Environment:&lt;/strong&gt; The YAML block defines a specific execution environment for the Python code. This controlled environment could potentially reduce the occurrence of errors or issues related to variable scope, dependencies, or execution timing, leading to a smoother experience.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Focused Resource Allocation:&lt;/strong&gt; When the Python execution is embedded within a document following specific instructions, it's possible that the underlying system allocates resources more efficiently, focusing on executing the code block as defined, without the overhead of interpreting freeform text inputs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Optimized Parsing and Execution:&lt;/strong&gt; The AI's interpretation of your structured AImarkdown document might be more optimized compared to processing freeform Python code requests. The structured format allows the AI to parse and execute the code more reliably, as it follows a predefined pattern.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, it's also worth noting that the success and reliability of code execution can be influenced by various factors, including the complexity of the code, the current load on the system, and the specific mechanisms the AI uses to interpret and execute Python code. Your structured approach via AImarkdown likely helps mitigate some of these variables, leading to a more consistent experience.&lt;/p&gt;

&lt;p&gt;In essence, while some part of your observation might be subjective, there's a logical explanation for why the AImarkdown approach could be yielding better results for you. It harnesses the power of structured data and clear execution directives, potentially leading to a more reliable and efficient processing by the AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Out of the Classical Programming Mindset
&lt;/h2&gt;

&lt;p&gt;The most exciting aspect of using AImarkdown Script, for me, lies in harnessing the power of AI-driven text generation. It allows me to achieve this with minimal, structured code.&lt;/p&gt;

&lt;p&gt;I have noticed that if the YAML section, or even the Python code block, may have errors (like level of indent), ChatGPT often correctly interprets and corrects them. This error-tolerant feature is not found in other languages. In classical programming, the best you could hope for is an "informative" error narrowing down where you went wrong. That being said, it still is better to write valid code, that is why I wrote a AImarkdown Validator:&lt;br&gt;
&lt;a href="https://validator.aimarkdown.org/" rel="noopener noreferrer"&gt;https://validator.aimarkdown.org/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the classical programming world, functionality has rigid limits. If it's not explicitly coded, it simply doesn't exist. User responses have to be meticulously anticipated to provide meaningful interaction. In a calendar type of application, a user might, "&lt;em&gt;What day of the week was May 8th, 1960?&lt;/em&gt;". If such a behavior was not forseen by the developer, the user is out of luck, and as usual, restricted to the scope of the program. But using AImarkdown and relying on the ChatGPT capabilities, the user will seamlessly get an answer. This powerful capability might do away, at least for the large part, with the age honored response: "&lt;em&gt;Good idea, I'll add that feature to the next version&lt;/em&gt;".&lt;/p&gt;

&lt;p&gt;This calendar custom ChatGPT application does have a considerable amount of structure and reminiscent of classical programming, but to illustrate the point above, have a look at my article:&lt;br&gt;
&lt;strong&gt;Build a ChatGPT 4 Blackjack Game with AI Coaching (49 Lines of Code)&lt;/strong&gt; published on &lt;a href="https://dev.to/aimarkdown/build-a-chatgpt-4-blackjack-game-with-ai-coaching-49-lines-of-code-2l84"&gt;dev.to Link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My blackjack article exemplifies how AImarkdown Script shifts that paradigm, delegating significant parts of the logic,experience to ChatGPT. The AImarkdown script resembles more of a conversational recipe than a program.&lt;/p&gt;

&lt;p&gt;Imagine building apps where you provide the core structure, intentionally leaving space for the AI to address unpredictable user interactions. This truly is a &lt;strong&gt;brave new world&lt;/strong&gt; of application development!&lt;/p&gt;
&lt;h2&gt;
  
  
  Installation Guide
&lt;/h2&gt;

&lt;p&gt;It is easy to install the script into ChatGPT. Here are the three options:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT 4&lt;/strong&gt;: copy and paste the source code below into any Chat session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT Builder&lt;/strong&gt;: Type &lt;code&gt;AI to follow these instructions:&lt;/code&gt; into &lt;code&gt;Configure|Instructions&lt;/code&gt; and then then copy and paste the source code below that.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  AImarkdown Script Source Code
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;See the documentation for AImarkdown Script at &lt;a href="https://aimarkdown.org/docs" rel="noopener noreferrer"&gt;https://aimarkdown.org/docs&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Github Public Gist: &lt;a href="https://gist.github.com/simplertasks/ab919ae98785798c589b74e8698711a2" rel="noopener noreferrer"&gt;https://gist.github.com/simplertasks/ab919ae98785798c589b74e8698711a2&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Complete Source code
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://choosealicense.com/licenses/mit/" rel="noopener noreferrer"&gt;MIT License&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h2&gt;
  
  
  Exploring Even More AImarkdown Script Action!
&lt;/h2&gt;




&lt;h3&gt;
  
  
  Part Two: Visualizing Power with Matplotlib
&lt;/h3&gt;

&lt;p&gt;Get ready for more Python-powered possibilities! In Part Two, we'll dive into generating dynamic visuals using Matplotlib and &lt;a href="https://aimarkdown.org" rel="noopener noreferrer"&gt;AImarkdown Script&lt;/a&gt;. Challenges may lurk, but overcoming them leads to truly compelling results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sneak Peek:&lt;/strong&gt; Check out how I've already embedded an output graph directly into a Markdown section!&lt;/p&gt;

&lt;h3&gt;
  
  
  Part Three: Unlocking ChatGPT's Hidden Toolbox
&lt;/h3&gt;

&lt;p&gt;Discover the secret arsenal of libraries accessible within ChatGPT. The Appendix below lists available libraries – imagine what we'll build together!&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;You've seen how AImarkdown Script tames Python execution within ChatGPT, ensuring reliability and presentation mastery. This series sets the stage for pushing those boundaries further – think interactive charts, data analysis, and beyond.&lt;/p&gt;

&lt;p&gt;Stay tuned! Your ChatGPT experience is about to reach new heights.&lt;/p&gt;

&lt;p&gt;&lt;a href="]https://github.com/AImarkdown/main"&gt;AImarkdown Github Repository&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Appendix - ChatGPT session
&lt;/h3&gt;

&lt;h4&gt;
  
  
  User:
&lt;/h4&gt;

&lt;p&gt;Can you give me the Python Libraries that are available as &lt;code&gt;import&lt;/code&gt; that I can use within ChatGPT&lt;/p&gt;

&lt;h4&gt;
  
  
  ChatGPT:
&lt;/h4&gt;

&lt;p&gt;Within ChatGPT, especially in environments like this one, you have access to a standard set of Python libraries that are generally included with Python's standard library, as well as a selection of third-party libraries that have been specifically included for their utility in data analysis, machine learning, visualization, and general utility tasks. Here's an overview of some categories and notable libraries you might find available:&lt;/p&gt;

&lt;h3&gt;
  
  
  Standard Python Libraries:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;math&lt;/code&gt;: Provides access to mathematical functions.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;datetime&lt;/code&gt;: For manipulating dates and times.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;re&lt;/code&gt;: Regular expression operations for string searching and manipulation.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;os&lt;/code&gt;: Operating system interfaces, including file and directory processing.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;sys&lt;/code&gt;: Access to some variables used or maintained by the Python interpreter.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;json&lt;/code&gt;: For parsing and generating JSON data.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;urllib&lt;/code&gt;: For opening and reading URLs (mostly used in environments with internet access).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Data Analysis and Machine Learning:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;numpy&lt;/code&gt;: Fundamental package for numerical computations.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;pandas&lt;/code&gt;: Data structures and data analysis tools.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;matplotlib&lt;/code&gt;: Basic plotting library.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;scipy&lt;/code&gt;: More advanced scientific computing, including optimization, regression, interpolation, etc.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;sklearn&lt;/code&gt; (or &lt;code&gt;scikit-learn&lt;/code&gt;): Machine learning library for Python.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Visualization:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;matplotlib.pyplot&lt;/code&gt;: A collection of command style functions that make matplotlib work like MATLAB.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;seaborn&lt;/code&gt;: Statistical data visualization library based on matplotlib.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Utility and Extended Functionality:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;requests&lt;/code&gt;: HTTP library for Python, for making HTTP requests in environments where internet access is permitted.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;BeautifulSoup&lt;/code&gt; (from &lt;code&gt;bs4&lt;/code&gt;): Library for web scraping purposes.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Pillow&lt;/code&gt; (PIL Fork): Python Imaging Library adds image processing capabilities.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Note:
&lt;/h3&gt;

&lt;p&gt;The availability of these libraries can depend on the specific environment or platform version you're using. In some versions of ChatGPT, especially those running in more restricted environments, not all libraries or their full functionalities are available, particularly those that require internet access or interact with the operating system at a lower level (e.g., &lt;code&gt;requests&lt;/code&gt;, &lt;code&gt;os&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;To check if a specific library is available and what its capabilities are in your environment, you can attempt to import it and use its functions. For the most current and detailed information, always refer to the official documentation or help resources provided with your specific ChatGPT or Python environment.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Image Credit:  AI-generated&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Build a ChatGPT 4 Blackjack Game with AI Coaching (49 Lines of Code)</title>
      <dc:creator>Rob McCormack</dc:creator>
      <pubDate>Sun, 18 Feb 2024 16:14:42 +0000</pubDate>
      <link>https://dev.to/aimarkdown/build-a-chatgpt-4-blackjack-game-with-ai-coaching-49-lines-of-code-2l84</link>
      <guid>https://dev.to/aimarkdown/build-a-chatgpt-4-blackjack-game-with-ai-coaching-49-lines-of-code-2l84</guid>
      <description>&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;In a hurry? See the game in action:&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chat.openai.com/share/9a14c65f-ece7-4093-9134-b6c942d665f4" rel="noopener noreferrer"&gt;Shared ChatGPT Session&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you ever wanted to create your own Blackjack game but felt intimidated by the coding involved? With ChatGPT 4 and AImarkdown Script, you can build a fully functional Blackjack game in record time. But wait, there’s more – this project takes it a step further by incorporating an AI coach that analyzes your play and offers strategic tips in real-time. While the primary goal of this tutorial is to demonstrate the capabilities of &lt;a href="https://aimarkdown.org/" rel="noopener noreferrer"&gt;AImarkdown Script&lt;/a&gt;, you’ll also enjoy a fun introduction to the technology and may even pick up some Blackjack strategy tips along the way.&lt;/p&gt;

&lt;p&gt;Don’t expect learning Blackjack strategy to significantly impact your career goals, but mastering AImarkdown Script could open up exciting new opportunities. This tutorial will show you how to leverage this powerful tool to quickly create innovative ChatGPT 4 applications. Whether you’re looking to increase productivity or build groundbreaking AI conversational apps, AImarkdown Script is your gateway.&lt;/p&gt;

&lt;p&gt;This Blackjack application uniquely showcases the power of AImarkdown Script in collaboration with ChatGPT. While providing a user-friendly interface and structure, the script strategically leverages ChatGPT for the complex game logic. This efficient design is reflected in the remarkably compact 49-line script.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to install
&lt;/h2&gt;

&lt;p&gt;It couldn't be easier!&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Bring up a new ChatGPT 4 session.&lt;/li&gt;
&lt;li&gt;Paste the complete source code into ChatGPT.&lt;/li&gt;
&lt;li&gt;Follow instructions, and have fun.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Complete AImarkdown Source code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Simple Blackjack Game in AImarkdown&lt;/span&gt;
&lt;span class="na"&gt;author&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Rob McCormack&lt;/span&gt;
&lt;span class="na"&gt;best_tip&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;__TIP-&amp;gt;__ The longer you play the more you will lose.&lt;/span&gt;

&lt;span class="c1"&gt;# AI To Follow These Instructions and Guidance (version 2024.01.30):&lt;/span&gt;
&lt;span class="c1"&gt;# Immediately display the `welcome_message` as the first interaction in a new session.&lt;/span&gt;

&lt;span class="c1"&gt;# Overview: A simple standard casino Blackjack game with AI analysis and strategy.&lt;/span&gt;

&lt;span class="c1"&gt;# Document Structure:&lt;/span&gt;
&lt;span class="c1"&gt;# - AImarkdown language is a combination of YAML and Markdown. https://aimarkdown.org&lt;/span&gt;
&lt;span class="c1"&gt;# - Comments (`#`) in YAML section guide AI's approach to the document.&lt;/span&gt;

&lt;span class="c1"&gt;# Session Startup Event:&lt;/span&gt;
&lt;span class="c1"&gt;# Display the `welcome_message` at the beginning of each session without user interaction.&lt;/span&gt;
&lt;span class="na"&gt;session_startup&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;display_welcome_message&lt;/span&gt;
  &lt;span class="na"&gt;welcome_message&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
    &lt;span class="s"&gt;![](https://i.aimarkdown.org/blackjack.jpg)&lt;/span&gt;
    &lt;span class="s"&gt;**A**♠  **J**♠ &lt;/span&gt;
    &lt;span class="s"&gt;**[title]**.&lt;/span&gt;
    &lt;span class="s"&gt;We will play just one hand of Blackjack.&lt;/span&gt;
    &lt;span class="s"&gt;**Enter**:&lt;/span&gt;
    &lt;span class="s"&gt;`/play` to play one hand.&lt;/span&gt;
    &lt;span class="s"&gt;*or*&lt;/span&gt;
    &lt;span class="s"&gt;`/strategy` to see basic Blackjack strategy.&lt;/span&gt;

&lt;span class="na"&gt;suit_characters&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;# Display characters for suits&lt;/span&gt;
  &lt;span class="c1"&gt;# For example, the King of hearts would be ` **K** ♥ ` with spaces as shown.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;diamonds&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;♦&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;hearts&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;♥&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;clubs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;♣&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;spades&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;♠&lt;/span&gt;

&lt;span class="na"&gt;play_hand&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;# Start to play one hand of standard Blackjack&lt;/span&gt;
  &lt;span class="c1"&gt;# Use `suit_characters` to display all cards.&lt;/span&gt;
  &lt;span class="c1"&gt;# Use standard Blackjack rules where the dealer must hit until their hand totals 17 or higher.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Start a game of Blackjack&lt;/span&gt;
  &lt;span class="c1"&gt;# When hand is over, AI to provide AI analysis to user on how well they played.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;After playing a hand, show AI analysis of hand.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;After analysis is shown, display only placeholder [best_tip].&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;Trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/play&lt;/span&gt;

&lt;span class="na"&gt;basic_strategy&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;# Display basic Blackjack strategy to user in tabular format.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Display basic Blackjack strategy in tabular format.&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;Trigger&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/strategy&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You may have noticed this tip in the help section of the script:
&lt;em&gt;"The more you play Blackjack, the more you will lose."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Here’s another tip to consider: &lt;em&gt;"The more you learn about AI, the more you will win."&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Both statements are equally valid.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;What other game would you like to build with ChatGPT and AImarkdown Script?&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Card_counting#/media/File:Blackjack_board.JPG" rel="noopener noreferrer"&gt;Photo Credit - Wikipedia.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>chatgptbuilder</category>
      <category>yaml</category>
      <category>aimarkdown</category>
    </item>
  </channel>
</rss>
