<?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: Shailesh Chaudhary </title>
    <description>The latest articles on DEV Community by Shailesh Chaudhary  (@shaileshofficial2019).</description>
    <link>https://dev.to/shaileshofficial2019</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%2F531775%2F4646ce1c-214d-4588-8af1-74c5b95c5db2.jpeg</url>
      <title>DEV Community: Shailesh Chaudhary </title>
      <link>https://dev.to/shaileshofficial2019</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shaileshofficial2019"/>
    <language>en</language>
    <item>
      <title>All in One AI App with Cloudflare Pages</title>
      <dc:creator>Shailesh Chaudhary </dc:creator>
      <pubDate>Tue, 09 Apr 2024 14:30:19 +0000</pubDate>
      <link>https://dev.to/shaileshofficial2019/all-in-one-ai-app-with-cloudflare-pages-43c3</link>
      <guid>https://dev.to/shaileshofficial2019/all-in-one-ai-app-with-cloudflare-pages-43c3</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/devteam/join-us-for-the-cloudflare-ai-challenge-3000-in-prizes-5f99"&gt;Cloudflare AI Challenge&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  All in one app with ai for chat, image generation, text summarization, code copilot and Translation generator.
&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%2Fnxw7q3f98i192egz51j2.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%2Fnxw7q3f98i192egz51j2.png" alt="ai-cloudflare-app-banner"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://ai-cloudflare.pages.dev/" rel="noopener noreferrer"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&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%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/shaileshofficial2019" rel="noopener noreferrer"&gt;
        shaileshofficial2019
      &lt;/a&gt; / &lt;a href="https://github.com/shaileshofficial2019/ai-cloudflare" rel="noopener noreferrer"&gt;
        ai-cloudflare
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Cloudflare Challenge on dev.to
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;AI App for Chat, Code Copilot, Translation, Image Generation&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/8e957a7e0a1d013a9c28b902c8b0163732a150918aa04aacb569ceb1c58a66fc/68747470733a2f2f61692d636c6f7564666c6172652e70616765732e6465762f62616e6e65722e706e67"&gt;&lt;img src="https://camo.githubusercontent.com/8e957a7e0a1d013a9c28b902c8b0163732a150918aa04aacb569ceb1c58a66fc/68747470733a2f2f61692d636c6f7564666c6172652e70616765732e6465762f62616e6e65722e706e67" alt="ai-app-banner"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Details of AI Models used&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Model Name&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Conversation&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/llama-2-7b-chat-fp16" rel="nofollow noopener noreferrer"&gt;@cf/meta/llama-2-7b-chat-fp16&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Image generation&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/dreamshaper-8-lcm" rel="nofollow noopener noreferrer"&gt;@cf/lykon/dreamshaper-8-lcm&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Summarization&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/bart-large-cnn" rel="nofollow noopener noreferrer"&gt;@cf/facebook/bart-large-cnn&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Translation&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/m2m100-1.2b" rel="nofollow noopener noreferrer"&gt;@cf/meta/m2m100-1.2b&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Code&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/mistral-7b-instruct-v0.2" rel="nofollow noopener noreferrer"&gt;@hf/mistral/mistral-7b-instruct-v0.2&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Environmental Variables&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="highlight highlight-source-dotenv notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-v"&gt;CLOUDFLARE_AUTH_TOKEN&lt;/span&gt;&lt;span class="pl-k"&gt;=&lt;/span&gt;&lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;

&lt;span class="pl-v"&gt;CLOUDFLARE_ACCOUNT_ID&lt;/span&gt;&lt;span class="pl-k"&gt;=&lt;/span&gt;&lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;open &lt;a href="https://dash.cloudflare.com" rel="nofollow noopener noreferrer"&gt;https://dash.cloudflare.com&lt;/a&gt; and grab your cridentials.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run Development Server&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm run dev&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Deploy on Cloudflare Pages&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;The easiest way to deploy your Next.js app is to use the &lt;a href="https://developers.cloudflare.com/pages/" rel="nofollow noopener noreferrer"&gt;Cloudflare Pages&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/shaileshofficial2019/ai-cloudflare" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  Journey
&lt;/h2&gt;

&lt;p&gt;Got a inspiration from &lt;a href="https://codewithantonio.com" rel="noopener noreferrer"&gt;Code with Antonio&lt;/a&gt; and this is the first time i am deploying a nextjs app on pages, it was easy to integrate AI models in nextjs app and easy to deploy nextjs app on Cloudflare Pages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multiple Models and/or Triple Task Types&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here is the list of all Cloudflare Models used in the project.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Model Name&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Conversation&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/llama-2-7b-chat-fp16" rel="noopener noreferrer"&gt;@cf/meta/llama-2-7b-chat-fp16&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Image generation&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/dreamshaper-8-lcm" rel="noopener noreferrer"&gt;@cf/lykon/dreamshaper-8-lcm&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Summarization&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/bart-large-cnn" rel="noopener noreferrer"&gt;@cf/facebook/bart-large-cnn&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Translation&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/m2m100-1.2b" rel="noopener noreferrer"&gt;@cf/meta/m2m100-1.2b&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Code&lt;/td&gt;
&lt;td&gt;&lt;a href="https://developers.cloudflare.com/workers-ai/models/mistral-7b-instruct-v0.2" rel="noopener noreferrer"&gt;@hf/mistral/mistral-7b-instruct-v0.2&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>cloudflarechallenge</category>
      <category>devchallenge</category>
      <category>ai</category>
      <category>nextjs</category>
    </item>
    <item>
      <title>Alan AI - 12K+ Interactions Promo Code</title>
      <dc:creator>Shailesh Chaudhary </dc:creator>
      <pubDate>Sat, 02 Apr 2022 17:27:59 +0000</pubDate>
      <link>https://dev.to/shaileshofficial2019/alan-ai-12k-interactions-promo-code-2cim</link>
      <guid>https://dev.to/shaileshofficial2019/alan-ai-12k-interactions-promo-code-2cim</guid>
      <description>&lt;p&gt;Hello, 👋 Developers.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is Voice Assistant?
&lt;/h3&gt;

&lt;p&gt;A voice assistant is a digital assistant that uses voice recognition, language processing algorithms, and voice synthesis to listen to specific voice commands and return relevant information or perform specific functions as requested by the user.&lt;/p&gt;

&lt;h2&gt;
  
  
  Alan AI
&lt;/h2&gt;

&lt;p&gt;If you want to integrate voice based functionality in your app or website then &lt;a href="https://alan.app"&gt;Alan AI&lt;/a&gt; can be best solution for you.&lt;/p&gt;

&lt;h4&gt;
  
  
  Alan AI can be integrated with these platforms
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Android&lt;/li&gt;
&lt;li&gt;iOS&lt;/li&gt;
&lt;li&gt;Web&lt;/li&gt;
&lt;li&gt;Electron&lt;/li&gt;
&lt;li&gt;React Native&lt;/li&gt;
&lt;li&gt;ionic&lt;/li&gt;
&lt;li&gt;Flutter&lt;/li&gt;
&lt;li&gt;SAP&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Look At Their Documentation For More information&lt;br&gt;
&lt;a href="https://alan.app/docs/"&gt;https://alan.app/docs&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Reference
&lt;/h3&gt;

&lt;p&gt;Here are List of some videos which will give you some more idea 💡 about Alan AI&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Also there are also mentioned Promo code which will give you free Interactions.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h5&gt;
  
  
  What are interactions?
&lt;/h5&gt;

&lt;p&gt;An interaction refers to each time you or your user interacts by voice with your voice assistant within Alan Studio or deployed in an app.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;You Will Get &lt;strong&gt;100&lt;/strong&gt; Free Interactions on Sign Up&lt;/em&gt; &lt;br&gt;
&lt;a href="https://studio.alan.app/register"&gt;Sign Up&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Videos 📷:-
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt; AI-powered shopping cart (React)
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/ShufCBZi_r8"&gt;
&lt;/iframe&gt;

&lt;strong&gt;&lt;code&gt;MAKEDANE1000&lt;/code&gt;&lt;/strong&gt; 1000 free Interactions.&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;E-commerce app (React)
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/4xwruFAvEHA"&gt;
&lt;/iframe&gt;

&lt;strong&gt;&lt;code&gt;WEBDEVSIMPLIFIED&lt;/code&gt;&lt;/strong&gt; 2500 free Interactions.&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;Voice controlled news app (React)
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/rqw3OftE5sA"&gt;
&lt;/iframe&gt;

&lt;strong&gt;&lt;code&gt;JSMASTERY&lt;/code&gt;&lt;/strong&gt; 2500 free Interactions.&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;Pacman with voice commands (JavaScript)
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/kBVaH3D92H8"&gt;
&lt;/iframe&gt;

&lt;strong&gt;&lt;code&gt;ANIAKUBOW&lt;/code&gt;&lt;/strong&gt; 2500 free Interactions.&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;AI-powered voice assistant radio app (Flutter)
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/p4xh7zTt6i0"&gt;
&lt;/iframe&gt;

&lt;strong&gt;&lt;code&gt;MTECHVIRAL&lt;/code&gt;&lt;/strong&gt; 2500 free Interactions.&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;Voice assisted FAQ app (React)
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/roqwqDr-yRw"&gt;
&lt;/iframe&gt;

&lt;strong&gt;&lt;code&gt;CODEVO&lt;/code&gt;&lt;/strong&gt; 1500 free Interactions.&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>javascript</category>
      <category>tutorial</category>
      <category>webdev</category>
      <category>node</category>
    </item>
  </channel>
</rss>
