<div dir="ltr"><font size="4">Dear Daniel and colleagues,<br>We should not deify a very simple, albeit complex, programming environment. </font><div><font size="4">LLMs have become popular with their search and text generation capabilities. </font></div><div><font size="4">But this, although impressive to the layman, is simple algorithmization. </font></div><div><font size="4">Currently, there are a number of LLMs that specialize in different activities.<br>To be completely clear, see below how to create "your own GPT".<br>With respect,<br>Krassimir</font><br><div><font size="4"><br></font></div><div><div class="gmail-text-base gmail-my-auto gmail-mx-auto gmail-py-5 gmail-px-6"><div class="gmail-mx-auto gmail-flex gmail-flex-1 gmail-text-base gmail-gap-4 gmail-md:gap-5 gmail-lg:gap-6 gmail-md:max-w-3xl gmail-lg:max-w-[40rem] gmail-xl:max-w-[48rem] gmail-group/turn-messages gmail-focus-visible:outline-hidden" tabindex="-1"><div class="gmail-group/conversation-turn gmail-relative gmail-flex gmail-w-full gmail-min-w-0 gmail-flex-col gmail-agent-turn gmail-@xs/thread:px-0 gmail-@sm/thread:px-1.5 gmail-@md/thread:px-4"><div class="gmail-relative gmail-flex-col gmail-gap-1 gmail-md:gap-3"><div class="gmail-flex gmail-max-w-full gmail-flex-col gmail-grow"><div dir="auto" class="gmail-min-h-8 gmail-text-message gmail-relative gmail-flex gmail-w-full gmail-flex-col gmail-items-end gmail-gap-2 gmail-text-start gmail-break-words gmail-whitespace-normal gmail-[.text-message+&]:mt-5"><div class="gmail-flex gmail-w-full gmail-flex-col gmail-gap-1 empty:hidden gmail-first:pt-[3px]"><div class="gmail-markdown gmail-prose gmail-dark:prose-invert gmail-w-full gmail-break-words gmail-light"><p class="gmail-">Creating your own GPT-powered application can be done in several ways, depending on your skills and needs. Here are the steps:</p>
<h3 class="gmail-"><strong>1. Define the Type of Application</strong></h3>
<p class="gmail-">Decide what kind of application you want to build:</p>
<ul>
<li class="gmail-">
<p class="gmail-"><strong>Web application</strong> (e.g., a chatbot on a website)</p>
</li>
<li class="gmail-">
<p class="gmail-"><strong>Mobile application</strong> (for iOS/Android)</p>
</li>
<li class="gmail-">
<p class="gmail-"><strong>Desktop application</strong></p>
</li>
<li class="gmail-">
<p class="gmail-"><strong>Integration with another platform</strong> (e.g., Slack, Discord, WhatsApp)</p>
</li>
</ul>
<h3 class="gmail-"><strong>2. Choose a GPT API</strong></h3>
<p class="gmail-">The most popular option is <strong>OpenAI API</strong>, which allows integration with GPT models. You can find it here:<br>
🔗 <a rel="noopener" class="gmail-" href="https://urldefense.com/v3/__https://platform.openai.com/docs/__;!!D9dNQwwGXtA!TS5BfpwhfrJUP8W0UvGZQYM7i2G9wCQ5f2krpXcvWMI7B0Wp_NOw5FMeDxhjpQQJVCdit9gUiOUn1ti3bDg$">https://platform.openai.com/docs/</a></p>
<p class="gmail-">You'll need to create an API key and go through the documentation.</p>
<h3 class="gmail-"><strong>3. Select a Development Technology</strong></h3>
<ul>
<li class="gmail-">
<p class="gmail-"><strong>Web app:</strong> JavaScript (React, Next.js), Python (Flask, Django)</p>
</li>
<li class="gmail-">
<p class="gmail-"><strong>Mobile app:</strong> React Native, Flutter, Swift, Kotlin</p>
</li>
<li class="gmail-">
<p class="gmail-"><strong>Desktop app:</strong> Electron.js, PyQt</p>
</li>
<li class="gmail-">
<p class="gmail-"><strong>Backend:</strong> Node.js, FastAPI, Express.js</p>
</li>
</ul>
<h3 class="gmail-"><strong>4. Integrate OpenAI API</strong></h3>
<p class="gmail-">Here’s a simple Python example using <code>requests</code>:</p>
<pre class="gmail-overflow-visible!"><div class="gmail-contain-inline-size gmail-rounded-md gmail-border-[0.5px] gmail-border-token-border-medium gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-flex gmail-items-center gmail-text-token-text-secondary gmail-px-4 gmail-py-2 gmail-text-xs gmail-font-sans gmail-justify-between gmail-h-9 gmail-bg-token-sidebar-surface-primary gmail-dark:bg-token-main-surface-secondary gmail-select-none gmail-rounded-t-[5px]">python</div><div class="gmail-sticky gmail-top-9"><div class="gmail-absolute gmail-right-0 gmail-bottom-0 gmail-flex gmail-h-9 gmail-items-center gmail-pe-2"><div class="gmail-bg-token-sidebar-surface-primary gmail-text-token-text-secondary gmail-dark:bg-token-main-surface-secondary gmail-flex gmail-items-center gmail-rounded-sm gmail-px-2 gmail-font-sans gmail-text-xs"><span class="gmail-"><button class="gmail-flex gmail-gap-1 gmail-items-center gmail-select-none gmail-px-4 gmail-py-1" aria-label="Копиране">Копиране</button></span><span class="gmail-"><button class="gmail-flex gmail-items-center gmail-gap-1 gmail-px-4 gmail-py-1 gmail-select-none">Редактиране</button></span></div></div></div><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"><code class="gmail-whitespace-pre! gmail-language-python"><span class="gmail-hljs-keyword">import</span> openai
openai.api_key = <span class="gmail-hljs-string">"YOUR_API_KEY"</span>
response = openai.ChatCompletion.create(
model=<span class="gmail-hljs-string">"gpt-4"</span>,
messages=[{<span class="gmail-hljs-string">"role"</span>: <span class="gmail-hljs-string">"user"</span>, <span class="gmail-hljs-string">"content"</span>: <span class="gmail-hljs-string">"Hello, how are you?"</span>}]
)
<span class="gmail-hljs-built_in">print</span>(response[<span class="gmail-hljs-string">"choices"</span>][<span class="gmail-hljs-number">0</span>][<span class="gmail-hljs-string">"message"</span>][<span class="gmail-hljs-string">"content"</span>])
</code></div></div></pre>
<h3 class="gmail-"><strong>5. Add a User Interface</strong></h3>
<p class="gmail-">If you're building a web application, you can use <strong>React</strong> and <strong>Next.js</strong>, while <strong>FastAPI</strong> is a great option for the backend.</p>
<h3 class="gmail-"><strong>6. Deploy and Hosting</strong></h3>
<ul>
<li class="gmail-">
<p class="gmail-"><strong>Web:</strong> Vercel, Netlify, AWS, DigitalOcean</p>
</li>
<li class="gmail-">
<p class="gmail-"><strong>Mobile Apps:</strong> Google Play, App Store</p>
</li>
<li class="gmail-">
<p class="gmail-"><strong>Backend:</strong> Render, Railway, AWS, Firebase</p>
</li>
</ul>
<h3 class="gmail-"><strong>7. Optimization and Monetization</strong></h3>
<ul>
<li class="gmail-">
<p class="gmail-">Reduce API requests to optimize costs.</p>
</li>
<li class="gmail-">
<p class="gmail-">Consider a business model (subscription, ads, premium features).</p></li></ul></div></div></div></div></div><div class="gmail-absolute"><span class="gmail-"><button class="gmail-btn gmail-relative gmail-btn-secondary gmail-btn-small gmail-shadow-lg"><div class="gmail-flex gmail-items-center gmail-justify-center"></div></button></span></div></div></div></div><div aria-hidden="true" class="gmail-pointer-events-none gmail-h-px gmail-w-px"></div></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br><table style="border-top:1px solid #d3d4de"><tr><td style="width:55px;padding-top:13px"><a href="https://urldefense.com/v3/__https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail__;!!D9dNQwwGXtA!TS5BfpwhfrJUP8W0UvGZQYM7i2G9wCQ5f2krpXcvWMI7B0Wp_NOw5FMeDxhjpQQJVCdit9gUiOUnLA7Umr0$" target="_blank"><img src="https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td><td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free.<a href="https://urldefense.com/v3/__https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail__;!!D9dNQwwGXtA!TS5BfpwhfrJUP8W0UvGZQYM7i2G9wCQ5f2krpXcvWMI7B0Wp_NOw5FMeDxhjpQQJVCdit9gUiOUnLA7Umr0$" target="_blank" style="color:#4453ea">www.avast.com</a></td></tr></table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>