<?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: Snazzy Coder</title>
    <description>The latest articles on DEV Community by Snazzy Coder (@snazzycoder).</description>
    <link>https://dev.to/snazzycoder</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%2F827601%2F89de1681-8a7f-411c-982f-5d289ae80ca3.png</url>
      <title>DEV Community: Snazzy Coder</title>
      <link>https://dev.to/snazzycoder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/snazzycoder"/>
    <language>en</language>
    <item>
      <title>Superhero Chat - Simulating Conversations with Heroes using AI</title>
      <dc:creator>Snazzy Coder</dc:creator>
      <pubDate>Tue, 08 Mar 2022 21:54:56 +0000</pubDate>
      <link>https://dev.to/snazzycoder/superhero-chat-simulating-conversations-with-heroes-using-ai-48o6</link>
      <guid>https://dev.to/snazzycoder/superhero-chat-simulating-conversations-with-heroes-using-ai-48o6</guid>
      <description>&lt;h3&gt;
  
  
  Overview of My Submission
&lt;/h3&gt;

&lt;p&gt;For the hackathon, I've created an application, where you could talk with superheroes or people with certain personalities that could be described in words, and they would reply just as they would in real life.&lt;/p&gt;

&lt;p&gt;Simply speaking, the AI model trained for the task is perfect for simulating conversations, and &lt;/p&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;Wacky Wildcards: Though it uses AI extensively, AI is not just the only part of the project. UI, web app development, etc. are as much of a contributor for the project as for AI, so I would like to place in in this category&lt;/p&gt;

&lt;h3&gt;
  
  
  Deployment
&lt;/h3&gt;

&lt;p&gt;The app was deployed on azure app service, and uses Azure's OpenAI service &lt;iframe width="710" height="399" src="https://www.youtube.com/embed/HTw4cJy3XNk"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  Link to Code on GitHub
&lt;/h3&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--566lAguM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/SnazzyCoder"&gt;
        SnazzyCoder
      &lt;/a&gt; / &lt;a href="https://github.com/SnazzyCoder/superhero-chat"&gt;
        superhero-chat
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Chat with your favourite superheroes, with the help of AI
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;p&gt;This is a &lt;a href="https://nextjs.org/" rel="nofollow"&gt;Next.js&lt;/a&gt; project bootstrapped with &lt;a href="https://github.com/vercel/next.js/tree/canary/packages/create-next-app"&gt;&lt;code&gt;create-next-app&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
Getting Started&lt;/h2&gt;
&lt;p&gt;First, run the development server:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm run dev
&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; or&lt;/span&gt;
yarn dev&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Open &lt;a href="http://localhost:3000" rel="nofollow"&gt;http://localhost:3000&lt;/a&gt; with your browser to see the result.&lt;/p&gt;
&lt;p&gt;You can start editing the page by modifying &lt;code&gt;pages/index.js&lt;/code&gt;. The page auto-updates as you edit the file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nextjs.org/docs/api-routes/introduction" rel="nofollow"&gt;API routes&lt;/a&gt; can be accessed on &lt;a href="http://localhost:3000/api/hello" rel="nofollow"&gt;http://localhost:3000/api/hello&lt;/a&gt;. This endpoint can be edited in &lt;code&gt;pages/api/hello.js&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;pages/api&lt;/code&gt; directory is mapped to &lt;code&gt;/api/*&lt;/code&gt;. Files in this directory are treated as &lt;a href="https://nextjs.org/docs/api-routes/introduction" rel="nofollow"&gt;API routes&lt;/a&gt; instead of React pages.&lt;/p&gt;
&lt;h2&gt;
Learn More&lt;/h2&gt;
&lt;p&gt;To learn more about Next.js, take a look at the following resources:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://nextjs.org/docs" rel="nofollow"&gt;Next.js Documentation&lt;/a&gt; - learn about Next.js features and API.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://nextjs.org/learn" rel="nofollow"&gt;Learn Next.js&lt;/a&gt; - an interactive Next.js tutorial.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can check out &lt;a href="https://github.com/vercel/next.js/"&gt;the Next.js GitHub repository&lt;/a&gt; - your feedback and contributions are welcome!&lt;/p&gt;
&lt;h2&gt;
Deploy on Vercel&lt;/h2&gt;
&lt;p&gt;The easiest way to deploy your Next.js app is to use the &lt;a href="https://vercel.com/new?utm_medium=default-template&amp;amp;filter=next.js&amp;amp;utm_source=create-next-app&amp;amp;utm_campaign=create-next-app-readme" rel="nofollow"&gt;Vercel Platform&lt;/a&gt; from…&lt;/p&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/SnazzyCoder/superhero-chat"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nnNhVr53--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nm0dz3z3afjbzd5okbbi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nnNhVr53--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nm0dz3z3afjbzd5okbbi.png" alt="ScreenShot" width="880" height="660"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Above is a sample screenshot of me talking with Tony Stark using the AI. you could choose from a variety of superheroes, or insert your own one.&lt;/p&gt;

&lt;p&gt;For example, you could add Ned (from Holland's Spiderman movies), by entering "Ned Leeds" in the name, and "Energetic high school boy who just got into MIT" in the context section. The AI would then automagically simulate the conversation and reply as Ned on his behalf. &lt;/p&gt;

&lt;p&gt;It works wonders.&lt;/p&gt;

&lt;h3&gt;
  
  
  Useful Links
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Project Demo: &lt;a href="https://yayy.me/azuresuperherotrial"&gt;https://yayy.me/azuresuperherotrial&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>azuretrialhack</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
