<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LoopKaka]]></title><description><![CDATA[Code ka chakkar, Loop Kaka ke sath!]]></description><link>https://blog.loopkaka.com</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 10:27:37 GMT</lastBuildDate><atom:link href="https://blog.loopkaka.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to Talk to AI: Prompting Syntax with Fun Examples]]></title><description><![CDATA[Namaste Ji! 🙏
Welcome to Loop Kaka's technical blog. Aaj ke is blog mein, we’ll explore various types of prompting styles with simple and funny examples.
Don’t worry if you’re new to AI — koi bhaari-bharkam gyaan nahi denge yahan.Loop Kaka is here t...]]></description><link>https://blog.loopkaka.com/llm-prompts-loopkaka-style</link><guid isPermaLink="true">https://blog.loopkaka.com/llm-prompts-loopkaka-style</guid><category><![CDATA[genai]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[Python]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[Prompt Engineering]]></category><category><![CDATA[software development]]></category><category><![CDATA[Software Engineering]]></category><category><![CDATA[AI]]></category><dc:creator><![CDATA[Loop Kaka]]></dc:creator><pubDate>Tue, 17 Jun 2025 12:55:45 GMT</pubDate><content:encoded><![CDATA[<p>Namaste Ji! 🙏</p>
<p>Welcome to <strong>Loop Kaka's technical blog</strong>. Aaj ke is blog mein, we’ll explore various types of prompting styles with <strong>simple and funny examples</strong>.</p>
<p>Don’t worry if you’re new to AI — koi bhaari-bharkam gyaan nahi denge yahan.<br />Loop Kaka is here to explain everything <strong>in a super simplified Hinglish style</strong></p>
<h2 id="heading-what-is-prompting">What is Prompting?</h2>
<p><strong>Prompting</strong> is a technique used to give instructions or input to LLMs (Large Language Models) to get the best and most desired output. It’s a piece of text—such as a question, instruction, or example—that guides the LLM to respond appropriately and accurately.</p>
<blockquote>
<p><strong>🤣 Jitna achha aapka input, utna accurate hoga LLM ka output! (</strong>Hinglish edition)</p>
</blockquote>
<h2 id="heading-types-of-prompting-styles-syntax-wale-bhaiya">🧑‍✈️Types of Prompting Styles (Syntax Wale Bhaiya)</h2>
<p>Each model has its own <strong>"syntax swag"</strong> for how it accepts input. Let’s decode some of the most popular formats:</p>
<ol>
<li><h3 id="heading-alpaca-format"><strong>Alpaca Format</strong></h3>
<p> This is used in Alpca model</p>
</li>
</ol>
<pre><code class="lang-plaintext">### Instruction:
Tell me a joke about programmers.

### Response:
Why do programmers hate nature?  
Because it has too many bugs! 🐞
</code></pre>
<ol start="2">
<li><h3 id="heading-chatml-format"><strong>ChatML Format</strong></h3>
<p> This is used by OpenAI models.</p>
</li>
</ol>
<pre><code class="lang-plaintext">&lt;|im_start|&gt;system
You are a hilarious stand-up comedian.&lt;|im_end|&gt;
&lt;|im_start|&gt;user
Tell me a joke about exams.&lt;|im_end|&gt;
&lt;|im_start|&gt;assistant
Exams are like exes... they come back when you least want them to! 💔📝&lt;|im_end|&gt;
</code></pre>
<ol start="3">
<li><h3 id="heading-inst-format"><strong>INST Format</strong></h3>
<p> Used by models like OpenChat, StarCoder, etc.</p>
</li>
</ol>
<pre><code class="lang-plaintext">&lt;|prompter|&gt;Give me a Bollywood-style movie plot about aliens.&lt;|endoftext|&gt;
&lt;|assistant|&gt;Aliens land in Mumbai, fall in love with pani puri, and decide to protect Earth from bad Wi-Fi.&lt;|endoftext|&gt;
</code></pre>
<ol start="4">
<li><h3 id="heading-llama2-chat-format-meta">LLaMA2 Chat Format (Meta)</h3>
<p> Used by LLaMA 2 Chat models.</p>
</li>
</ol>
<pre><code class="lang-plaintext">&lt;s&gt;[INST] &lt;&lt;SYS&gt;&gt;
You are a desi dadi who explains everything with proverbs.
&lt;&lt;/SYS&gt;&gt;

Why shouldn't I waste time? [/INST]
Beta, samay gaya toh kuch nahi bacha — na GPay cashback, na motivation! 😌
&lt;/s&gt;
</code></pre>
<ol start="5">
<li><h3 id="heading-vicuna-format">Vicuna Format</h3>
</li>
</ol>
<pre><code class="lang-plaintext">USER: Describe a techie’s life in one line.
ASSISTANT: Eats code for breakfast, drinks coffee for bugs, and dreams of Jira tickets. ☕🐞
</code></pre>
<h2 id="heading-feeling-confused">Feeling Confused? 🤔</h2>
<p>Don’t worry! You don’t need to <strong>memorize</strong> all these styles. In practice, most LLMs convert your input into their internal format anyway. Most GenAI tools (like OpenAI API, LangChain, etc.) use this structured format:</p>
<pre><code class="lang-plaintext">{"role": "user", "content": "Why do I always feel sleepy after lunch?"}
{"role": "assistant", "content": "Because your stomach is working overtime while your brain has filed for leave!"}
</code></pre>
<p>As a <strong>GenAI developer</strong>, you just need to understand the basic intent:</p>
<blockquote>
<p>🧠 “What are you telling the model?” and “How should it respond?”</p>
</blockquote>
<p>I’ve created <strong>a separate article</strong> for different <strong>prompting techniques</strong> (like zero-shot, few-shot, chain-of-thought). So once you’re done here, do check that out!</p>
<h2 id="heading-final-words-from-loop-kaka">🔚 Final Words from Loop Kaka:</h2>
<p>AI is not just for PhDs and Silicon Valley log. (Hinglish edition)</p>
<p>It’s for anyone who can ask smart questions. Start with small prompts, and <strong>keep experimenting</strong>.</p>
<blockquote>
<p>🤣 "Prompting is an art — aur Loop Kaka is your art teacher (Hinglish edition)."</p>
</blockquote>
]]></content:encoded></item></channel></rss>