<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Oat Wongsajjathiti on Medium]]></title>
        <description><![CDATA[Stories by Oat Wongsajjathiti on Medium]]></description>
        <link>https://medium.com/@oat-on-a-boat?source=rss-95ccff58844a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*14Dqzgu2AcvSr2mFVkyWrg.jpeg</url>
            <title>Stories by Oat Wongsajjathiti on Medium</title>
            <link>https://medium.com/@oat-on-a-boat?source=rss-95ccff58844a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 08:28:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oat-on-a-boat/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Page 11: Launch, Marketing, Feedback and next steps]]></title>
            <link>https://oat-on-a-boat.medium.com/page-11-launch-marketing-feedback-and-next-steps-ae7566372c6e?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae7566372c6e</guid>
            <category><![CDATA[lessons-learned]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[product-launch]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Sat, 08 Apr 2023 13:32:58 GMT</pubDate>
            <atom:updated>2023-04-08T13:32:58.221Z</atom:updated>
            <content:encoded><![CDATA[<h3>Page 11: Launch, Marketing, Feedback, and next steps</h3><p>… on the marketing side, I’ve launched on LinkedIn, added Analytics tracking (GA and Vercel), promoted the site on many AI product directories, gotten feedback from potential users, and last but not least, planned a vision forward.</p><p>Let’s go through each of them :)</p><h4>Launched on LinkedIn</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DGoMRsVcJso3ga7iaAt5eA.png" /></figure><p>I <a href="https://www.linkedin.com/posts/oat-wongsajjathiti_hirablefyi-activity-7047272894388699136-f7Nh?utm_source=share&amp;utm_medium=member_desktop">launched on LinkedIn</a>, sharing the MVP with my friends and colleagues. I got more views and engagement than I anticipated. Also learned that most people don’t care besides likes/comments, which is great. Less time worrying about people and more focus on building. Some users found it very useful and on-trend, and I actually connected with new connections who played and were interested in learning more.</p><h4>Listed on AI product directories</h4><p>I submitted my website to many third party AI products directories. Think Capterra or G2 for AI products.</p><p><strong>Listings:</strong></p><ul><li><a href="https://www.futurepedia.io/tool/hirable">https://www.futurepedia.io/tool/hirable</a></li><li><a href="https://chatgptdemo.com/product/hirable-fyi/">https://chatgptdemo.com/product/hirable-fyi/</a></li><li><a href="https://aitoolguru.com/tools/hirable">https://aitoolguru.com/tools/hirable</a></li><li><a href="https://topapps.ai/ai-apps/hirable/">https://topapps.ai/ai-apps/hirable/</a></li><li><a href="https://airegisters.com/listing/hirable/">https://airegisters.com/listing/hirable/</a></li><li><a href="https://aitoptools.com/tool/hirable/">https://aitoptools.com/tool/hirable/</a></li><li><a href="https://nav.6aiq.com/sites/1680342077330.html">https://nav.6aiq.com/sites/1680342077330.html</a></li></ul><h4>Added Analytics tracking (GA and Vercel)</h4><p>Added Google Analytics and Vercel Analytics to track usage. It peaked during the day I posted on LI, and few days after it started peaking from other sources from the AI directories. The highest traffic source is futurepedia so far with over 300 visits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M_7JI47sd_uOg9IdgJdiyw.png" /></figure><p>GA shows traffic from many different countries which is also exciting!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*22IiWOWxJK2AJHlLb2tBTg.png" /></figure><h4>Gotten feedback from potential users</h4><p>I talked to many users from LinkedIn and personal connections (students, new grads, and career counselors). Lessons learned are:</p><ul><li>They were impressed by the speed of development</li><li>The product looks interesting but more as a tool, not a platform</li><li>The analysis feature is the most liked. Writing for a job is 2nd.</li><li>The hirable name is confusing. Getting hired is more than just writing a good resume and cover letter.</li><li>Learned more about challenges facing new grads and job seekers in this day and age — deciphering Job Descriptions for skills is difficult</li><li>Learned that I need to talk to more users as I build</li><li>Learned that I enjoyed talking about this topic to users, and I find the motivation to help job seekers ever since I entered the job market. Learned that I want to build more on top regardless of interest, simply because I believe in offering a useful (in my opinion) tool that could benefit x people, and that there is room for improvement than what is out there (jobscan, rezi, kickresume, biginterview, and many many more).</li></ul><p>I will talk about the next steps on the next page :)</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae7566372c6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 10: Technical wrap-up a]]></title>
            <link>https://oat-on-a-boat.medium.com/page-10-technical-wrap-up-a-ee0d4a5372a5?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee0d4a5372a5</guid>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[launch]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Sat, 08 Apr 2023 13:23:20 GMT</pubDate>
            <atom:updated>2023-04-08T13:23:20.387Z</atom:updated>
            <content:encoded><![CDATA[<h3>Page 10: Technical wrap-up and launch</h3><p>On <a href="https://medium.com/@oat-on-a-boat/page-9-using-openai-api-to-analyze-resume-9df75f065248">page 9</a>, I finished the resume analysis with Open AI API. Since then…</p><p>… on the tech side, I’ve deployed <a href="https://hirable.fyi/">hirable.fyi</a>, added Google authentication and MongoDB database, and added cover letter AI writer and analyser.</p><p>Let’s go through each of them :)</p><h4>Deployment via Vercel</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCdd_dGHy8GZZWCN__PRDw.png" /></figure><p>I deployed hirable on <a href="https://vercel.com/">Vercel</a>. It is a great and go-to deployment platform for Next.js, built by the founders of Next.js themselves.</p><p>Deployment was easy. It connects to github so when you push to main , it can autodeploy to production. It will also autodeploy to other development/staging branches as well. You can find literally 1000 tutorials on how to get started.</p><h4>Authentication</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BVLCErBFzfEMWuT5V6TvyA.png" /></figure><p>I used <a href="https://next-auth.js.org/">NextAuth.js</a> for authentication, with support for Google provider for now. The auth framework was built for Next.js as well which made it very easy to install.</p><p>One challenge though was unclarity of documentation on Next.js version 13 installation. Nextjs 13 added support for /app directory which I am using, while NextAuth expects us to create the root authentication API file [...nextauth].ts inside the old /pages directory to function properly. I had to create the /pages dir on the same level as /app simply to hold this file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*E6iOUu0XcL4x7obATiNJmQ.png" /></figure><p>Additionally, the way we pass session to the main layout is different due to the introduction of /app/layout.ts root layout in Next.js 13. To pass the session correctly, I had to fetch session from getServerSession and create a new context called AuthContext , as loading &lt;SessionProvider&gt; directly inside the root layout would force it to be a client component which is not what we want.</p><pre>// root layout<br>export default async function RootLayout({<br>  children,<br>}: {<br>  children: React.ReactNode;<br>}) {<br>  const session = await getServerSession(authOptions);<br><br>  return (<br>    &lt;html lang=&quot;en&quot;&gt;<br>      ...<br>      &lt;body&gt;<br>        &lt;AuthContext session={session}&gt;{children}&lt;/AuthContext&gt;<br>      &lt;/body&gt;<br>    &lt;/html&gt;<br></pre><pre>// AuthContext<br>&quot;use client&quot;;<br><br>import { SessionProvider } from &quot;next-auth/react&quot;;<br>import { Session } from &quot;next-auth&quot;;<br><br>export interface AuthContextProps {<br>  children: React.ReactNode;<br>  session: Session | null;<br>}<br><br>export default function AuthContext({ children, session }: AuthContextProps) {<br>  return &lt;SessionProvider session={session}&gt;{children}&lt;/SessionProvider&gt;;<br>}</pre><p>Then you can fetch/create session anywhere in the app using useSession , signIn and signOut</p><pre>import { signIn, useSession, signOut } from &quot;next-auth/react&quot;;<br>const { status } = useSession();<br>const isLoggedIn = status === &quot;authenticated&quot;;</pre><h4>MongoDB database</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wGD6LRiZAKb1XgbhPEfKNw.png" /></figure><p>I chose a non-relational MongoDB database to store user sessions and their resume/cover letters, and moved away from localstorage . It works very well with Next.Js auth for authentication. Simply create a mongo DB account, create a new cluster, pick a cluster type and go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*38FBWW8Myyb3cQWlGR9VDQ.png" /></figure><p>I chose the serverless instance. It is not free but cheap and it auto-scales quite well. You could also choose shared instance too if the project is small.</p><p>To connect your NextAuth.js to MongoDB (to create a session, user etc.), connect using <a href="https://authjs.dev/reference/adapter/mongodb">MongoDB Adapter</a>. You can use the same clientPromise to query/mutate other tables as well manually.</p><h4>Added cover letter AI writer and analyser.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*muvLL8x0ulmFvW7ZKuw-kg.png" /></figure><p>I also extended the rewrite and analyze functionality for cover letters. <strong>Rewrite </strong>uses the information from the resume. <strong>Analyze </strong>takes a look a basic structure and highlights things that are missing. The functionality is quite basic but it is a good start.</p><p>On the next page, I will talk about how I marketed this MVP, launched, and next steps. Thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee0d4a5372a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 9: Using OpenAI API to analyze resume]]></title>
            <link>https://oat-on-a-boat.medium.com/page-9-using-openai-api-to-analyze-resume-9df75f065248?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9df75f065248</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Fri, 31 Mar 2023 20:02:38 GMT</pubDate>
            <atom:updated>2023-03-31T20:02:38.538Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O8dSH9R2dQtyfWtGoMjg9Q.png" /></figure><p>We want to provide our users with some valuable insights and analysis on their resumes.</p><p>If they provide their resume, we can provide a general analysis of the resume like typos, tone, completeness of the sections, etc.</p><p>If they provide what roles they are applying for, we can find top ATS keywords, hard skills, and soft skills required for that role. We can then map each of these and check for their mentions in the resume.</p><p>Lastly, if they provide the job description, we can scan it for the skills required and map them with those included in the resume.</p><p>The interface for the analysis would be:</p><pre>export interface AnalyzeResult {<br>  jobSpecific?: SpecificData;<br>  roleSpecific?: SpecificData;<br>  general?: GeneralData;<br>}<br><br>export interface GeneralData {<br>  // if we are unable to retrieve it<br>  errors?: { [key: string]: string };<br>  <br>  message?: string;<br><br>  spellingErrors?: AnalyzeResultItem;<br><br>  missingSections?: AnalyzeResultItem;<br><br>  // does the resume contain necessary sections/info<br>  content?: {<br>    phone?: AnalyzeResultItem;<br>    email?: AnalyzeResultItem;<br>    physicalAddress?: AnalyzeResultItem;<br>    jobTitle?: AnalyzeResultItem;<br>    education?: AnalyzeResultItem;<br>    skills?: AnalyzeResultItem;<br>    experience?: AnalyzeResultItem;<br>    hobbies?: AnalyzeResultItem;<br>  };<br>}<br><br>export interface SpecificData {<br>  // if we are unable to retrieve it<br>  errors?: { [key: string]: string };<br><br>  jobTitleMatch?: AnalyzeResultItem;<br>  educationMatch?: AnalyzeResultItem;<br>  skillMatch?: AnalyzeResultItem;<br>  experienceMatch?: AnalyzeResultItem;<br><br>  keywords?: AnalyzeResultItem[];<br>  hardSkills?: AnalyzeResultItem[];<br>  softSkills?: AnalyzeResultItem[];<br>}<br><br>export interface AnalyzeResultItem {<br>  name?: string;<br>  present?: boolean;<br>  message?: string;<br>}</pre><p>One thing that was clear very early: we cannot retrieve all this analysis within one prompt to OpenAI. We need the following:</p><p><strong>A) For general data, “here is the resume…”</strong></p><ol><li>“Give me a summary of how this resume would perform”</li><li>“Does the resume has missing sections?”</li><li>“Does the resume have any typos?”</li><li>etc.</li></ol><p><strong>B) For role-specific analysis, “here is the role…”</strong></p><ol><li>“Give me the top 5 technical skills for this role. For each of these roles, check for their availability in this resume: {resume}”</li><li>“Give me the top 5 soft skills for this role. For each of these roles, check for their availability in this resume: {resume}”</li><li>“Give me all the ATS keywords for this role. For each of these roles, check for their availability in this resume: {resume}”</li><li>etc. and similar for job-specific analysis</li></ol><h3>Formatting the data</h3><p><strong>Boolean</strong></p><p>For some data points, we not only want the analysis but also some action items as well.</p><p>For instance, if you have typos, click <strong>this button</strong> to rewrite to fix those typos. Or if you are missing this keyword, click here to add it somewhere in your resume.</p><p>For this, we need to change the prompt and add “reply in yes, or no”.</p><pre>return {<br>  present: response.data === &#39;yes&#39;<br>} as AnalyzeResultItem;</pre><h4>Arrays</h4><p>For this query:</p><blockquote>“Give me the top 5 technical skills for this role. For each of these roles, check for their availability in this resume: {resume}”</blockquote><p>We are actually making 2 queries.</p><ol><li>Top 5 skills for this role</li><li>For these 5, fetch their availabilities</li></ol><p>In the end, we want to return results in a tabular manner like:</p><p><strong>name | is present? | description</strong></p><p>React.js | true | “Candidate mentioned of React.js in their Google job experience section”</p><pre>// Top 5 skills for this role<br>export const analyzeRoleOrJDForSkills = (<br>  data: AnalyzeRequest,<br>  type: &quot;hard&quot; | &quot;soft&quot;<br>) =&gt; {<br>  const { document, job } = data;<br>  if (!document) throw new Error(&quot;Please provide a document to analyze&quot;);<br>  if (!job) throw new Error(&quot;Please provide a job or industry to analyze&quot;);<br>  return `<br>  List the top 5 ${<br>    type === &quot;hard&quot; ? &quot;technical&quot; : &quot;soft&quot;<br>  } skills for a role of ${job.role} in an array of strings format.<br>  `;<br>};<br><br>// check in the resume<br>export const analyzeResumeForSkills = (<br>  data: AnalyzeRequest,<br>  skillsNeeded: string | null<br>) =&gt; {<br>  const { document, job } = data;<br>  if (!document) throw new Error(&quot;Please provide a document to analyze&quot;);<br>  if (!job) throw new Error(&quot;Please provide a job or industry to analyze&quot;);<br>  if (!skillsNeeded) throw new Error(&quot;Please provide skills needed&quot;);<br>  return `<br>    ${document}<br>    --------------------<br>    To what extend does this resume contain each of the following skills.<br>    --------------------<br>    ${skillsNeeded}<br>    --------------------<br>    <br>    Respond in the format of an JSON format like this:<br>    &quot;[<br>      {<br>        &quot;name&quot;: &quot;some technical skill&quot;,<br>        &quot;present&quot;: true,<br>        &quot;message&quot;: &quot;Candidate is skilled in this skill as they have done this and that&quot;<br>      },<br>      {<br>        &quot;name&quot;: &quot;some other skill&quot;,<br>        &quot;present&quot;: false,<br>        &quot;message&quot;: &quot;Candidate is not skilled in this skill as they have not done this and that&quot;<br>      }<br>    ]&quot;<br>`;<br>};</pre><h3>Tying everything together</h3><p>We want to hit all these calls in parallel. OpenAI API can be flaky and return 500 due to high traffic, so splitting these requests is a good way to chunk them out.</p><p>We will fetch 4 different calls from our frontend</p><p><strong>A) Get general data:</strong> this will split up into 3 different calls to openAI API:</p><ol><li>Get summary</li><li>Find typos</li><li>Find missing sections</li></ol><p><strong>B) Get hard skills for a role: </strong>this will split up into 2 calls to openAI API:</p><ol><li>Get the list of the top 5 hard skills for this role</li><li>Check if any of these 5 are listed</li></ol><p>(<em>Repeat B for soft skills and keywords.)</em></p><p>Now let’s try it. We will fill in the role of <strong>“software engineering manager”</strong></p><p>Result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ioXGfTmD4FU35dWgFSOzcQ.png" /></figure><p><strong><em>*chef kisses</em></strong></p><p>Exactly what we needed! Chunking them makes sure that when there are errors in each section, we still give some partial answers.</p><p>Next we will explore redesign and authentication, maybe dealing with rate limiting middleware!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9df75f065248" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 8: Using OpenAI API to write]]></title>
            <link>https://oat-on-a-boat.medium.com/page-8-using-openai-api-to-write-c9163481c27?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9163481c27</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Fri, 31 Mar 2023 15:39:15 GMT</pubDate>
            <atom:updated>2023-03-31T15:39:15.732Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello again :) It has been roughly a week since my last post and man, has it gotten real (fun).</p><p>Spent the last 6 days building out <a href="https://hirable.fyi/">https://hirable.fyi/</a></p><p>What did I do in those days?</p><h4><strong>API: Write a resume based on user data</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O0UeBf_3eptASaJl2Zte_g.png" /></figure><p>We want Hirable to create a resume draft for me based on my basic information. Let’s take this UserData interface:</p><pre>export interface UserData {<br>  name: string;<br>  professionTitle: string;<br>  about: string;<br>  experiences: UserWorkExperience[];<br>  skills: UserSkill[];<br>  education: UserEducation[];<br>  hobbies: UserHobby[];<br>  profilePicture?: string;<br>  linkedInId?: string;<br>}<br><br>export interface UserHobby {<br>  name: string;<br>  description: string;<br>}<br><br>export interface UserSkill {<br>  name: string;<br>  level: number;<br>}<br><br>export interface UserWorkExperience {<br>  jobTitle: string;<br>  companyName: string;<br>  startDate: string;<br>  endDate: string;<br>  location: string;<br>  description: string;<br>}<br><br>export interface UserEducation {<br>  schoolName: string;<br>  degree: string;<br>  startDate: string;<br>  endDate: string;<br>  location: string;<br>  description: string;<br>}<br><br></pre><p>Let’s build an API endpoint to OpenAI:</p><pre>// server<br>const openAIResponse = await openai.createCompletion({<br>  model: &quot;text-davinci-003&quot;,<br>  prompt: userDataPrompt(payload.data),<br>  temperature: 0.5,<br>  max_tokens: 3000,<br>});<br><br><br>const userDataPrompt = (userData: UserData) =&gt; {<br>  const exp = userData.experiences<br>    .filter(nonEmpty)<br>    .map((exp) =&gt; jobExperiencePrompt(exp));<br><br>  const edu = userData.education<br>    .filter(nonEmpty)<br>    .map((edu) =&gt; educationExperiencePrompt(edu));<br><br>  const skills = userData.skills<br>    .filter(nonEmpty)<br>    .map((skill) =&gt; skillPrompt(skill));<br><br>  const sections = {<br>    info: userData.name &amp;&amp; `My name is ${userData.name}.`,<br>    profession:<br>      userData.professionTitle &amp;&amp; `I am a ${userData.professionTitle}.`,<br>    about: userData.about &amp;&amp; `${userData.about}.`,<br>    experience: exp.length &gt; 0 &amp;&amp; exp.join(&quot;&quot;),<br>    education: edu.length &gt; 0 &amp;&amp; edu.join(&quot;&quot;),<br>    skills: skills.length &gt; 0 &amp;&amp; skills.join(&quot;&quot;),<br>    intro: `<br>        Write an effective resume for me, highlighting my strengths and experience.<br>        Please write in standard resume format with a confident and analytical tone.<br>      `,<br>  };<br>  return Object.values(sections)<br>    .filter((section) =&gt; section)<br>    .join(&quot; &quot;);<br>};</pre><p>Example response when I fed some seed data.</p><pre>John Doe<br>Software Engineer<br><br>Summary<br>A highly experienced software engineer with 10 years of experience in developing, testing, and debugging software applications. Skilled in JavaScript, React, Node, and Python. Proven track record of successful development and implementation of software solutions for Google&#39;s search engine.<br><br>Experience<br>Software Engineer, Google, 2020-01-01 - 2020-01-01<br>• Developed, tested, and debugged software applications for Google&#39;s search engine<br>• Collaborated with other engineers to ensure the successful completion of projects<br>• Ensured that all software applications met industry standards and client requirements<br><br>Education<br>Harvard, 2020-01-01 - 2020-01-01<br>• Bachelor of Science in Computer Science<br><br>Skills<br>• JavaScript<br>• React<br>• Node<br>• Python<br>• Software Testing<br>• Debugging</pre><p>Doesn’t look too bad! Let’s try doing some more stuff.</p><h4>API: Rewrite based on tone</h4><p>We have a good starting point for our resume. But let’s try to change something. Let’s change the tone. I added a few tones here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-mUilLcT68thnxNyUeJJLQ.png" /></figure><p>Let’s try to feed the API with the original resume draft and ask it to rewrite to make me sound more X:</p><pre>// server<br>const openAIResponse = await openai.createCompletion({<br>  model: &quot;text-davinci-003&quot;,<br>  prompt: tonePrompt(payload.data),<br>  temperature: 0.25,<br>  max_tokens: 3000,<br>});<br><br>const tonePrompt = (data: { document: string; tone: Tone }) =&gt; {<br>  const { document, tone } = data;<br>  if (!document) throw new Error(&quot;Please provide a document to rewrite&quot;);<br>  if (!tone) throw new Error(&quot;Please provide a tone to rewrite the document&quot;);<br>  return `<br>    ${document}<br>    --------------------<br>    Rewrite the above text, keeping the format but change the tone to be more ${tone}.<br>  `;<br>};</pre><p>Response with tone = &#39;supportive&#39;</p><pre>John Doe<br>Software Engineer<br><br>Summary<br>I&#39;m a highly experienced software engineer with a decade of experience in developing, testing, and debugging software applications. I&#39;m proud to have developed successful software solutions for Google&#39;s search engine, and I&#39;m skilled in JavaScript, React, Node, and Python. I&#39;m committed to ensuring that all software applications meet industry standards and client requirements.<br><br>Experience<br>Software Engineer, Google, 2020-01-01 - 2020-01-01<br>• Developed, tested, and debugged software applications for Google&#39;s search engine<br>• Collaborated with other engineers to ensure projects were completed to the highest standard<br>• Ensured that all software applications met industry standards and client requirements<br><br>Education<br>Harvard, 2020-01-01 - 2020-01-01<br>• Earned a Bachelor of Science in Computer Science<br><br>Skills<br>• JavaScript<br>• React<br>• Node<br>• Python<br>• Software Testing<br>• Debugging</pre><p>Notice the change in summary:</p><blockquote>A highly experienced software engineer with 10 years of experience in developing, testing, and debugging software applications. Skilled in JavaScript, React, Node, and Python. Proven track record of successful development and implementation of software solutions for Google’s search engine.</blockquote><p>to</p><blockquote>I’m a highly experienced software engineer with a decade of experience in developing, testing, and debugging software applications. I’m proud to have developed successful software solutions for Google’s search engine, and I’m skilled in JavaScript, React, Node, and Python. I’m committed to ensuring that all software applications meet industry standards and client requirements.</blockquote><p>Great! However, I see the usage of I ‘s in the summary, which I want to remove emphasis in the resume. Let’s try a different type of prompt below:</p><h4>API: Rewrite based on action</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b7z5HxRkwIaLvgXdXPy30Q.png" /></figure><p>There are some actions I would like the AI to do to my resume. From fixing spelling mistakes, reducing repetitive words, and replacing Me, My, and I.</p><p>Our prompt doesn&#39;t change much. It will look like this:</p><pre>const actionPrompt = (data: { document: string; action: Action }) =&gt; {<br>  const { document, action } = data;<br>  if (!document) throw new Error(&quot;Please provide a document to rewrite&quot;);<br>  if (!action)<br>    throw new Error(&quot;Please provide an action to rewrite the document&quot;);<br>  const { title, description } = formatActionDefinition(action);<br>  if (!title || !description)<br>    throw new Error(&quot;Action doesn&#39;t have a title or desc&quot;);<br>  return `<br>    ${document}<br>      <br>    --------------------<br>    Rewrite the above text, but try to ${title}. ${description}. Please keep the format and all the sections.<br>  `;<br>};<br><br>export const formatActionDefinition = (action: Action) =&gt; {<br>  switch (action) {<br>    case &quot;reduceBuzzWords&quot;:<br>      return {<br>        title: &quot;reduce buzz words&quot;,<br>        description:<br>          &quot;Reduce the use of overused buzz words in your resume such as &#39;team player&#39; or &#39;hard worker&#39;.&quot;,<br>      };<br>    case &quot;reducePassiveVoice&quot;:<br>      return {<br>        title: &quot;reduce passive voice&quot;,<br>        description:<br>          &quot;Passive voice is generally wordier and less direct than active voice. For example, &#39;A promotion was given to me after 3 months&#39; is passive voice. &#39;I was given a promotion after 3 months&#39; is active voice.&quot;,<br>      };<br>    case &quot;reduceRepetitiveWords&quot;:<br>      return {<br>        title: &quot;reduce repetitive words&quot;,<br>        description: &quot;Reduce the use of repetitive words in your resume.&quot;,<br>      };<br>    case &quot;addActionWords&quot;:<br>      return {<br>        title: &quot;add action words&quot;,<br>        description:<br>          &quot;Action words such as &#39;created&#39;, &#39;managed&#39;, and &#39;led&#39; can demonstrate your skills and experience in a more impactful way.&quot;,<br>      };<br>    case &quot;removeMe&quot;:<br>      return {<br>        title: &quot;remove Me, My and I&quot;,<br>        description: &#39;You can remove pronouns such as &quot;me&quot;, &quot;my&quot;, and &quot;I&quot;.&#39;,<br>      };<br>    case &quot;highlightAchievements&quot;:<br>      return {<br>        title: &quot;add achievements and metrics&quot;,<br>        description:<br>          &quot;It is important to highlight your achievements more than your responsibilities. Add facts and numbers to your resume to demonstrate your impact, such as KPIs and revenue generated.&quot;,<br>      };<br>...</pre><p>Now our summary looks like this:</p><blockquote>Experienced software engineer with over a decade of experience in creating, designing, and resolving software applications. Proud to have developed successful software solutions for Google’s search engine, well-versed in JavaScript, React, Node, and Python. Committed to ensuring that all software applications meet industry standards and customer requirements.</blockquote><p>Noice!</p><p>Another very effective prompt is to add achievements and metrics , returning</p><pre>John Doe<br>Software Engineer<br><br>Summary<br>A highly motivated and experienced Software Engineer with 10 years of experience in developing and deploying software applications. Adept in leveraging the latest technologies to design, develop, and maintain software products. Possesses a Bachelor&#39;s degree in Computer Science from Harvard University and has intermediate level experience with JavaScript, React, Node, and Python. Demonstrated success in developing and deploying software applications that have increased user engagement by 20%, reduced development time by 30%, and improved customer satisfaction by 10%.<br><br>Experience<br>Software Engineer, Google<br>2020-01-01 – 2020-01-01<br>• Developed and maintained software applications for Google&#39;s search engine, resulting in a 20% increase in user engagement.<br>• Ensured the quality of the software by conducting rigorous tests and debugging, reducing development time by 30%.<br>• Optimized existing software applications by analyzing performance and making necessary improvements, resulting in a 10% improvement in customer satisfaction.<br>• Collaborated with other teams to identify and resolve software issues.<br><br>Education<br>Harvard University<br>2020-01-01 – 2020-01-01<br>Bachelor of Science in Computer Science<br><br>Skills<br>• JavaScript<br>• React<br>• Node<br>• Python</pre><p>Next page we will explore how we use OpenAI API to analyze our resume. See ya!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9163481c27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 7: Building a web application]]></title>
            <link>https://oat-on-a-boat.medium.com/page-7-building-a-web-application-aa5ee7a15448?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa5ee7a15448</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[github-copilot]]></category>
            <category><![CDATA[frontend]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Sun, 26 Mar 2023 01:34:57 GMT</pubDate>
            <atom:updated>2023-03-26T01:34:57.557Z</atom:updated>
            <content:encoded><![CDATA[<p>Sharing my 3 days of work to build the UI for Hirable.</p><h4>Stack</h4><ul><li>Next.js for full-stack React framework. Using the beta version 13 with React Server Components</li><li>React</li><li>Typescript</li><li>OpenAI API for generative AI assistant</li><li>TailwindCSS for styling</li><li>Vercel for deployment</li></ul><h4>Day 1:</h4><ul><li>Learning about Next.js, and reading beta <a href="https://beta.nextjs.org/docs/getting-started">documentation for Version 13</a>, particularly how /app folder and nested routing works, as well as how to decide which components are server or client rendered.</li><li>Other links I found useful: <a href="https://www.youtube.com/watch?v=dRLjoT4r-jc">YT on state management</a>, <a href="https://react.dev/blog/2020/12/21/data-fetching-with-react-server-components">React documentation for RSC</a></li><li>Started building. Created a new next.js app using npx create-next-app@latest hirable</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oXoiXM3G9SkTnPohgUR34A.png" /><figcaption>Starter UI for create-next-app</figcaption></figure><h4>Day 2:</h4><ul><li>Ran into some linting/autosaving problems. Installed Prettier ESlint plugin and other linting configs. Useful links: <a href="https://www.aleksandrhovhannisyan.com/blog/format-code-on-save-vs-code-eslint/">https://www.aleksandrhovhannisyan.com/blog/format-code-on-save-vs-code-eslint/</a>, <a href="https://nextjs.org/docs/basic-features/eslint">https://nextjs.org/docs/basic-features/eslint</a></li><li>Built basic UI for landing and the editor dashboard. Realized I have no landing page design. Let’s use AI for it.</li><li>Went to <a href="https://headlime.com/features/landing-page">Headlime</a>, which is an AI content-building application.</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOcabEqRYZqg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOcabEqRYZqg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOcabEqRYZqg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/68330d457df343278e6901b9fd8a3cdd/href">https://medium.com/media/68330d457df343278e6901b9fd8a3cdd/href</a></iframe><ul><li>Initially wanted to use basic LESS or SASS, or <a href="https://stitches.dev/">https://stitches.dev</a> which is a CSS-in-JS library I used at work. Never used Tailwind but heard good things, so chose that instead.</li><li>Started coding. Realized I want to be faster/spending too much time writing boring data-binding and a basic component library. It’s 2023, let’s use AI.</li><li>Learned more about <a href="https://github.com/features/copilot">Github CoPilot</a>. Got the 60-day trial. Added the VSCode plugin.</li><li>Tried it out. This is a game-changer. Literally 2x’ed my speed. It can understand my code, recommend common patterns and references my other files, and even guess my types correctly. It knows I am using Tailwind and suggest Tailwind classes for me as well. Here is an example:</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FNgXkPGOrhpA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNgXkPGOrhpA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FNgXkPGOrhpA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5074c92984556c9d1105f598155bfe96/href">https://medium.com/media/5074c92984556c9d1105f598155bfe96/href</a></iframe><h4>Day 3:</h4><ul><li>Built the personal info tab of the editor. This page would contain personal information, bio, education, experiences, skills, and hobbies.</li><li>We will populate this on the read-only document on the right, with a layout similar to a resume. We will use localstorage to persist data for now until we add a session and DB connection.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DlWctwXlmyXnBMI2Ei3lHA.png" /><figcaption>Figma mock</figcaption></figure><ul><li>Made some iterations on design based on speed. This is what it looks like right now</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FR8tH85-v2VE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DR8tH85-v2VE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FR8tH85-v2VE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b11b64cdf0abe47933b2cc22578f59c0/href">https://medium.com/media/b11b64cdf0abe47933b2cc22578f59c0/href</a></iframe><p>The next step is to integrate with OpenAI to write the content. See y’all next week!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa5ee7a15448" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 6: Sketching Application Layout]]></title>
            <link>https://oat-on-a-boat.medium.com/page-6-sketching-application-layout-32926d620ed9?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/32926d620ed9</guid>
            <category><![CDATA[mockup]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 14:32:01 GMT</pubDate>
            <atom:updated>2023-03-20T14:32:01.597Z</atom:updated>
            <content:encoded><![CDATA[<p>Our natural next step is to design. We will be using Figma, leveraging some AI-powered plugins to help with the color palette, image generation, and general best practice analysis.</p><p>Let’s sketch out a lo-fi draft of what some pages look like, starting with the onboarding. Users can start their journey in 3 different ways:</p><ul><li>From scratch — manual input</li><li>Import from LinkedIn — Important to get this right. It is well structured so we can easily parse the data</li><li>Import from resume PDF — Could be challenging to parse, maybe post MVP</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*orA1ZenGKenSKc5fML9isQ.jpeg" /></figure><p>Onboarding will collect some information as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FEjZiLeMD8Y-jnYHQNR3MQ.jpeg" /></figure><p>The editor will look like this. Think word/G docs with different wrappers around sections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h7VFo3xFzRAh0Zzto6EetA.jpeg" /></figure><p>The document will be organized in the following sections. Each section has a collapsible menu dropdown that displays a list of AI-assisted commands.</p><pre><br>Document<br>&gt; Title<br>&gt; Intro<br>  &gt; Bio<br>  &gt; Contacts<br>&gt; Educations<br>  &gt; Each education<br>    &gt; Each point<br>    &gt; Links/media/skill<br>&gt; Experiences<br>  &gt; Each experience<br>    &gt; Each point<br>    &gt; Links/media/skill<br>&gt; Skills<br>  &gt; Skill<br>&gt; Hobbies &amp; Interests<br>  &gt; Hobby or Interest<br>&gt; Custom<br>  &gt; Custom text</pre><p>While this is just the bare minimum and certainly needs many rounds of iteration, I am a firm believer in rapid iteration through learning and moving fast. We will move towards a hi-fi mockup with Figma now and iterate it there. See you on the next page :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32926d620ed9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 5: Validating AI feasibility (in OpenAI API)]]></title>
            <link>https://oat-on-a-boat.medium.com/page-5-validating-ai-feasibility-in-openai-api-e948931d0db2?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e948931d0db2</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[resume]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Sun, 19 Mar 2023 22:05:39 GMT</pubDate>
            <atom:updated>2023-03-19T22:05:39.109Z</atom:updated>
            <content:encoded><![CDATA[<h4>We want OpenAI to do this in our app:</h4><ul><li>Generate a high-performing resume draft based on a role and general information about the user’s experience/skills</li><li>Rewrite a resume based on a job description</li><li>Rewrite a resume based on other resumes</li><li>Highlight strengths and weaknesses of a resume against that job description, with prompts to improve</li><li>Translate resumes in different languages</li><li>Share insight around critical keywords/outlines that high-performing resumes use for a certain role</li></ul><p>Let’s map each of these out based on API <a href="https://platform.openai.com/docs/api-reference/introduction">documentation</a>. The codebase below uses OpenAI’s NextJS example project.</p><h4>Generate a high-performing resume draft based on a role and general information about the user’s experience/skills</h4><p>This is a single back-and-forth prompt with text completion, so we can use the Davinci base model for it and use the <a href="https://api.openai.com/v1/completions">https://api.openai.com/v1/completions</a> API.</p><p>Request:</p><pre>const completion = await openai.createCompletion({<br>      model: &quot;text-davinci-003&quot;,<br>      prompt: `Generate a draft resume for a software engineer whose name is John Smith. <br>      He has 7 years of experience at Google as Backend Engineer, where he led YouTube Music team.<br>      Before that he worked at Apple for 4 years working on Garage Band.<br>      He graduated from MIT where he studied computer science`,<br>      max_tokens: 3000<br>    });<br>console.log(completion.data.choices[0].text);</pre><p>Response:</p><pre>John Smith<br>Software Engineer<br><br>SUMMARY<br>Software Engineer with 7 years of experience in developing software for several prominent companies. Adept at creating software solutions that encourage incoming business and maintain existing customer relationships. Demonstrated ability to develop complex software designs with robust coding practices. Possesses a Bachelor of Science in Computer Science from the Massachusetts Institute of Technology (MIT).<br><br>EXPERIENCE<br>Backend Engineer, Google | Jan 2013 – present<br> Led YouTube Music team to assist in creating and managing streaming audio.<br> Designed several software applications for Android devices that enhanced the video-streaming process.<br> Developed software that administered software upgrades in the Developer Console.<br> Monitored software performance and ensured accurate catalogs of collected data.<br><br>Software Engineer, Apple | Jan 2009 – Dec 2012<br> Developed applications for the GarageBand platform on Mac and iOS devices.<br> Tested written code to ensure accuracy in functionality.<br> Built software that monitored user interaction to determine effectiveness.<br> Used debugging process to identify, correct, and report software errors.<br><br>EDUCATION<br>Bachelor of Science in Computer Science, Massachusetts Institute of Technology (MIT) | Graduated May 2008<br> GPA 3.8<br> Received Software Engineering Award</pre><p>This is a great start already!</p><h4>Rewrite this resume based on a job description/other resumes</h4><p>Rewrite is a text edit, so let’s try using the text edit API: <a href="https://api.openai.com/v1/edits">https://api.openai.com/v1/edits</a></p><p>Request</p><pre>    const replacement = await openai.createEdit({<br>      model: &quot;text-davinci-edit-001&quot;,<br>      input: `${resume}`, // from earlier<br>      instruction: `<br>        Rewrite to match more of following job description:<br>        OpenAI: Software Engineer, Billing and Monetization<br>        We are looking for an engineer who can lead us to sustained economic and user growth.<br><br>In this role, you will:<br><br>Build tooling to help us analyze and optimize major cost centers in our infrastructure, and then use that data to make our fleet more economically efficient.<br>Build core infrastructure required to sustain and expand revenue operations across a growing portfolio of products, pricing plans, and customers.<br>Work closely with finance and product management to help with infrastructure capacity planning, pricing, and profitability forecasts.<br>You might thrive in this role if you:<br><br>Have at least 5 years of professional software engineering experience.<br>Have developed or integrated with a billing platform for usage based business models.<br>Have an understanding of the basic business dynamics of SaaS businesses and how engineering plays a role in this.<br>Have a humble attitude, an eagerness to help your colleagues, and a desire to do whatever it takes to make the team succeed.<br>Have needed to rebuild or substantially refactor production systems several times over due to rapidly increasing scale or scope.<br>Are self-directed and enjoy figuring out the most important problem to work on.<br>Own problems end-to-end, and are willing to pick up whatever knowledge you&#39;re missing to get the job done.<br>Build tools to accelerate your own workflows, but only when off-the-shelf solutions would not do.<br><br>      `,<br>    })<br><br>    console.log(replacement.data.choices[0].text);</pre><p>Response:</p><pre>Mohamad Ali<br>Software Engineer               Diagnostic Technician         Biologic Technician<br>                  Network       Laboratory                  Operations engineer<br>               Model Engineer     scientist<br><br>SUMMARY<br>Diagnostic or diagnostic technician with 16 years of experience Diagnosis and diagnostics Protocol Security guidelines in several prominent companies. Adept at creating software solutions that encourage incoming business and maintain existing company relationships. Demonstrated ability to develop projects and troubleshoot systems for multiple business lines. Possesses a Bachelor of Science in Computer Science.<br><br>   EXPERIENCE<br>Game Test , Nintendo  | 2013 - April 2016<br> Led team to assist in bugding of game cinematics, game start, game graphics, and game loading times.<br>Resolved several different product quality issues within 72 hours<br> Tracked several problems, failures, and document all bug fixes in console devices.<br><br>Certified VW Diagnostic Technician, Sonic Motors  | April 2016-Present<br> Perform all maintenance requirements set forth in VW&#39;s &quot;Dealer Only&quot; monthly diagnostic programs.<br> Uses intricate diagnostic tools proving problem ratings, graphs, and calibrations of issues for VW/Audi connect.<br> Use multiple WDS/ETKA resources to complete parts repairs and replacement of parts for vehicles.<br> Document concise troubleshooting steps taken to retrive informaiton and test failures or find problems in vehicles.<br> Follow up with VW Technical teams to ensure the repair or diagnosis of vehicle has been completed.<br>School Coordinator, I Power3 Company  | June 2006-2009<br> Tag students for their physical education and monitor performance of each student.<br> Track students progress, academic stand, peer relationships.<br>Resolve any school complaints and issue punishment to students if needed.<br> Notify parents before or after person gives any problem whether academic or to peer.<br> Read over everyday&#39;s agenda and prepare teachers with daily lesson plan.<br><br>EDUCATION<br>&lt;Cal. State University in San Bernardino, Computer Science.| March 2006-September 2008 ‹     Art Academie in Kharkiv region, Kharkiv Institute for higher education, Kharkiv Ukraine.| January<br>1987 to March 1991&gt;<br> GPA 3.7<br> Received Academic Status Award</pre><p>…this doesn’t look right. The Replace API just replaced the entire resume, including the name and entire experience. This means we need a better prompt or a different API.</p><p>Let’s first try changing the instruction in the request from</p><pre>// from<br>instructions: `Rewrite to match more of following job description: ...`<br>// to<br>instructions: `Rewrite each job experience description to match more of following job description:<br></pre><pre>John Smith<br>Software Engineer<br><br>SUMMARY<br>Software Engineer with 7 years of experience in developing software for several prominent companies. Adept at creating software solutions that encourage incoming business and maintain existing customer relationships. Demonstrated ability to develop complex software designs with robust coding practices. Possesses a Bachelor of Science in Computer Science from the Massachusetts Institute of Technology (MIT).<br><br>EXPERIENCE<br>Backend Engineer, Google | Jan 2013 – present<br> Managed YouTube Video Streaming Team to assist in creating and delivering live and prerecorded video streaming.<br> Developed  Java Video Content Management(VCM) web application used by broadast partners to upload,stich, transform,collage,insert ad and publish video data on Youtube.<br> Built and managed AWS EC2 compute instances used by VCM app backend process to generate analytic and compliance reports using custom python scripts on video metadata.<br> Automated /self service maintenance utilities/tasks for VCM app servers and services servers to reduce or eliminate break/fix Total Cost of Ownership(TCO) and stabilize operability in Google Cloud Environment .<br>  Implemented a single sign (IDAM) application based on Youtube server side technology stack model to enforce role based access control(RBAC) security model for individual users of web VCM application.<br> Provided systems designs and product life cycle management for both Youtube VCM backend and its frontend web app UI.<br><br>Software Engineer, Apple | Jan 2009 – Dec 2012<br> Developed Apple Mobile UI(IOS) and Desktop IOS apps using swift programming language<br> Tested written code to ensure correctness in functionality, Availability and robustness.<br> Designed , developed and managed Infrastructure monitoring application to monitor system performance and traffic usage and response time determined effectiveness in several independent node cluster instance..<br> Used debugging and profiling tools to identify ,correct, and report software errors in several independent but managed node cluster instance.<br> Designed, Developed and managed several node cluster instances to provide scalable robust solution to support video content delivery for internal cloud app store.<br> Responsible for network availability, security and permissions for video content delivery node cluster instances secured by Stunnel technology.<br> Wrote automated system testing script for a node cluster server instances.<br> Researched and developed offline content sync capability for apple community users to allow and preview content without downloading the content.<br> Suggested and designed Infrasrcture architecture for user generated content collaboration platform.<br><br>EDUCATION<br>Bachelor of Science in Computer Science, Massachusetts Institute of Technology (MIT) | Graduated May 2008<br> GPA 3.8<br> Received Software Engineering Award</pre><p>That is better. It kept everything else the same and adjusted the experience to match the job description better, or at least in more detail. Think we are good to stop here and figure out more in the code later.</p><h4>Highlight strengths and weaknesses of a resume against that job description, with prompts to improve</h4><p>First, we should retrieve the list of technical and soft skills from the job description.</p><pre>// https://api.openai.com/v1/completions<br>const completion = await openai.createCompletion({<br>      model: &quot;text-davinci-003&quot;,<br>      prompt: `For the following Job description, list out the top technical and soft skills required for the role.<br>      <br>        OpenAI: Software Engineer, Billing and Monetization ...`<br></pre><pre>Technical Skills:<br>- 5+ years software engineering experience<br>- Billing platform development or integration<br>- System scalability and refactoring<br>- Relevant infrastructure capacity planning<br>- Proficiency in needed development languages<br>- Version control systems<br>- Knowledge of SaaS business dynamics<br><br>Soft Skills:<br>- Humble attitude<br>- Self-directed<br>- Problem solver<br>- Efficiency minded<br>- Effective communicator<br>- Ability to work with remote teams<br>- Ability to work with product management<br>- Ability to work with finance team<br>- Collaborative approach<br>- Organizational skills</pre><p>Then we can ask it to analyze our resume to see how we match against each of these. We will use chat completion to continue the conversation:</p><pre> const completion = await openai.createChatCompletion({<br>      model: &quot;gpt-3.5-turbo&quot;,<br>      messages: [<br>        {<br>          role: &quot;user&quot;, content: skillPrompt // from above request<br>        },<br>        {<br>          role: &quot;assistant&quot;, content: skillsData // from above response<br>        },<br>        {<br>          role: &#39;user&#39;, content: `<br>      Which of these skills are included in my resume? This is my resume: <br>        ${resume}<br>      ` },<br>      ],<br>    });</pre><pre>{<br>  role: &#39;assistant&#39;,<br>  content: &#39;It is not possible to determine which skills are included in your resume without more information. The resume listed does not include a detailed breakdown of your skills or a comprehensive list of technical and soft skills.&#39;<br>}</pre><p>Looks like our resume needs more information. Instead of our current resume, I will replace with another more detailed resume of mine.</p><pre>Professional Summary:<br><br>Experienced frontend software engineer with 7 years of proven success in building scalable SaaS products from scratch and leading cross-functional engineering teams. Skilled in TypeScript, Angular/React, SOA, API best practices, and event-based solutions. Strong understanding of server-side CSS pre-processing platforms, such as SASS. Excellent presentation and communication skills, with the ability to articulate technical concepts to both technical and non-technical audiences.<br><br>Experience:<br><br>Senior Frontend Software Engineer, Streamlabs (2018-2022)<br><br>Led the frontend development of Streamlabs&#39; livestreaming suite of tools, building complex web applications with high traffic and performance requirements.<br>Successfully built Streamlabs&#39; frontend engineering team from scratch, recruiting and directly managing a team of 7 engineers across the organization.<br>Collaborated closely with the product team, graphical designers, backend engineers, and quality assurance team to deliver a world-class software platform.<br>Demonstrated leadership and accountability by taking ownership of critical projects, evaluating complex business requirements, and translating them into actionable software items.<br>Lead Frontend Engineer, Subscriptions, Bolt (2022-Present)<br><br>Solely responsible for leading the frontend engineering of Bolt&#39;s Subscriptions product, building interfaces for both shoppers and merchants.<br>Work closely with the product team to define and execute the product vision, ensuring high quality and optimal performance of the frontend application.<br>Utilize expertise in TypeScript, Angular/React, and other modern development patterns to contribute clean code that follows strict typing rules and modern patterns.<br>Participate in the frontend and backend architecture councils, creating and reviewing proposals, and working with teams to implement architectural changes.<br>Skills:<br><br>TypeScript, Angular/React, SOA, API best practices, and event-based solutions<br>REST, gRPC, GraphQL, and WebSocket<br>Relational, NoSQL, and in-memory cache persistence technologies<br>Server-side CSS pre-processing platforms, such as SASS<br>Various build and release management tools for the frontend stack<br>Performance optimization for complex frontend applications<br>Micro Frontend Architecture<br>AWS technologies<br>Education:<br><br>Bachelor of Science in Computer Science, XYZ University, 2018<br>Certifications:<br><br>AWS Certified Developer – Associate, 2020</pre><p>Re-run the request. This is the response:</p><pre>{<br>  role: &#39;assistant&#39;,<br>  content: &#39;The skills included in your resume are:\n&#39; +<br>    &#39;- TypeScript, Angular/React, JavaScript, CSS, SASS, SOA, APIs, event-driven solutions, REST, gRPC, GraphQL, WebSocket, SQL, NoSQL, Redis, AWS, Docker, Kubernetes, Git, JIRA, Agile methodologies, project management, leadership, communication, collaboration, mentoring.&#39;<br>}</pre><p>It’s ok. Maybe we need a better prompt. Let’s try:</p><pre>{<br>    role: &#39;user&#39;,<br>    content: `<br>      This is my resume: <br>      ${resume}. Can you share to what extend are these skills included in my resume, and which are missing?<br>    `<br>},</pre><pre>{<br>  role: &#39;assistant&#39;,<br>  content: &#39;Your resume includes the following technical skills:\n&#39; +<br>    &#39;- TypeScript\n&#39; +<br>    &#39;- Angular/React\n&#39; +<br>    &#39;- Service-oriented architecture (SOA)\n&#39; +<br>    &#39;- API best practices\n&#39; +<br>    &#39;- Event-based solutions\n&#39; +<br>    &#39;- REST, gRPC, GraphQL, and WebSocket\n&#39; +<br>    &#39;- Relational, NoSQL, and in-memory cache persistence technologies\n&#39; +<br>    &#39;- Server-side CSS pre-processing platforms, such as SASS\n&#39; +<br>    &#39;- Various build and release management tools for the frontend stack\n&#39; +<br>    &#39;- Performance optimization for complex frontend applications\n&#39; +<br>    &#39;- Micro Frontend Architecture\n&#39; +<br>    &#39;- AWS technologies\n&#39; +<br>    &#39;\n&#39; +<br>    &quot;Based on your resume, there do not appear to be any significant technical skills missing. However, it would be helpful to include more specifics about your experience with AWS technologies, as this is a broad category encompassing many specific services and tools. Additionally, it may be useful to include more examples of specific projects you&#39;ve worked on and the role you played in them in order to give potential employers a better understanding of your skills.&quot;<br>}</pre><p>Not bad at all!</p><h4>Translate resumes in different languages</h4><p>This should be a breeze.</p><pre>const translate = await openai.createCompletion({<br>  model: &quot;text-davinci-003&quot;,<br>  prompt: `Translate my resume from english to spanish. My resume is ${resume}`,<br>  max_tokens: 3000<br>});<br>console.log(&#39;translate&#39;, translate.data.choices[0].text);</pre><pre>Resumen profesional:<br><br>Experto en ingeniería de software de frontend con 7 años de éxito comprobado en la creación desde cero de productos SaaS escalables y en la dirección de equipos de ingeniería multidisciplinaria. Experto en TypeScript, Angular / React, SOA, mejores prácticas de API y soluciones basadas en eventos. Fuerte comprensión de plataformas de preprocesamiento de CSS en el servidor, como SASS. Excelentes habilidades de presentación y comunicación, con la capacidad de articular conceptos técnicos a audiencias técnicas y no técnicas.<br><br>Experiencia:<br><br>Ingeniero de Software de Frontend Senior, Streamlabs (2018-2022)<br><br>Dirigió el desarrollo de frontend de la suite de herramientas de transmisión en vivo de Streamlabs, construyendo aplicaciones web complejas con requisitos de alto tráfico y rendimiento.<br>Con éxito construyó el equipo de ingeniería de frontend de Streamlabs desde cero, reclutando y dirigiendo directamente a un equipo de 7 ingenieros en toda la organización.<br>Colaboró estrechamente con el equipo de producto, diseñadores gráficos, ingenieros de backend y el equipo de aseguramiento de calidad para ofrecer una plataforma de software de clase mundial.<br>Demostró liderazgo y responsabilidad tomando propiedad de proyectos críticos, evaluando requisitos comerciales complejos y traduciéndolos en elementos de software accionables.<br>Ingeniero de Frontend Líder, Suscripciones, Bolt (2022-Presente)<br><br>Responsable único de liderar la ingeniería de frontend de Bolt Subscriptions, construyendo interfaces para compradores y comerciantes.<br>Trabaje estrechamente con el equipo de producto para definir y ejecutar la visión del producto, garantizando alta calidad y rendimiento óptimo de la aplicación de frontend.<br>Utilizar su experiencia en TypeScript, Angular / React y otros patrones de desarrollo modernos para contribuir con código limpio que siga reglas estrictas de tipificación y patrones modernos.<br>Participar en los consejos de arquitectura de frontend y backend, creando y revisando propuestas, y trabajando con equipos para implementar cambios arquitectónicos.<br>Habilidades:<br><br>TypeScript, Angular / React, SOA, mejores prácticas de API y soluciones basadas en eventos<br>REST, gRPC, GraphQL y WebSocket<br>Tecnologías de persistencia de caché relacional, NoSQL e in-memory<br>Plataformas de preprocesamiento de CSS en el servidor, como SASS<br>Varias herramientas de gestión de construcción y lanzamiento para la pila de frontend<br>Optimización de rendimiento para aplicaciones de frontend complejas<br>Arquitectura de Frontend Micro<br>Tecnologías de AWS<br>Educación:<br><br>Licenciatura en Ciencias de la Computación, Universidad XYZ, 2018<br>Certificaciones:<br><br>AWS Certified Developer – Associate, 2020</pre><p>Boom. EZ.</p><h4>Share insight around critical keywords/outlines that high-performing resumes use for a certain role</h4><p>This should be easy as well.</p><pre>const insight = await openai.createCompletion({<br>  model: &quot;text-davinci-003&quot;,<br>  prompt: `Share insight on top performing keywords in great frontend software engineering resumes, including technologies, stacks, metrics and technical skills`,<br>  max_tokens: 3000<br>});<br>console.log(&#39;insight&#39;, insight.data.choices[0].text);</pre><pre>Top performing keywords in great frontend software engineering resumes depend on the type of job role and organization an individual is applying for. A few examples of some of the top performing keywords may include:<br><br>-Practical experience with modern frontend technologies such as HTML5, CSS3, JavaScript, React, Angular and/or Vue<br>-Familiarity with development frameworks such as Node.js, Express, and/or JQuery<br>-Deep understanding of RESTful APIs and web services<br>-Proficiency in building user interfaces, server-side logic, and databases<br>-Industry best practices such as CI/CD, TDD, Agile methodology and version control systems<br>-Metrics tracking and performance optimization techniques<br>-Knowledge of Cross-browser compatibility and accessibility requirements<br>-Excellent problem-solving and debugging skills.</pre><p>While these are pretty generic, it gives a good insight and reference to get started and compare.</p><p>We have now somewhat validated all of our AI-assisted functionalities within the app. Now, let’s code for real :)</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e948931d0db2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 4: Exploring Open AI API documentation]]></title>
            <link>https://oat-on-a-boat.medium.com/page-4-validating-ai-feasibility-in-openai-node-js-api-b88c7423f92b?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b88c7423f92b</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Sun, 19 Mar 2023 19:38:29 GMT</pubDate>
            <atom:updated>2023-03-19T20:08:59.162Z</atom:updated>
            <content:encoded><![CDATA[<p>On page 3, we validated that ChatGPT can do what we needed for our application. As a reminder, these functionalities are:</p><ul><li>Generate a high-performing resume draft based on a role and general information about the user’s experience/skills</li><li>Rewrite a resume based on a job description</li><li>Rewrite a resume based on other resumes</li><li>Highlight strengths and weaknesses of a resume against that job description, with prompts to improve</li><li>Translate resumes in different languages</li><li>Share insight around critical keywords/outlines that high-performing resumes use for a certain role</li></ul><p>The next natural step is to confirm we can do these in the publically available <a href="https://platform.openai.com/docs/introduction">OpenAI API</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DTVW3XKIsbKvznSz4nomsQ.png" /></figure><h4>There are five things to consider when getting started:</h4><ol><li><a href="https://platform.openai.com/docs/introduction/guides"><strong>Guides</strong></a> can be a good starting point to outline the range of capabilities available via the API.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H4YvwzAD-a26z5CvfG6roA.png" /></figure><p><strong>2. Chat vs. Instruct</strong>: “<strong>Chat</strong>” models (GPTx) have capabilities similar to ChatGPT. You can feed it a dialogue, and ask it to continue that conversation. “<strong>Instruct</strong>” models (Ada, Babbage, Curie, Davinci) follow single-turn instructions. TLDR: they take a command and return a response. We will most likely use a combination of both types in our application.</p><p><strong>3. Model</strong> — GPT 4, 3.5, 3, Dall-E, Whisper .etc. We will be using GPT 3.5 as we care about natural language processing for our application. We can upgrade to GPT-4 when it comes out of limited beta (or if we face limitations of 3.5). Alternatively, we can use GPT-3 if we want to <strong>fine-tune</strong> our model (aka feeding additional context/information added to the base knowledge). This may be useful for us to train the model about hiring tips and advanced industry knowledge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KuRrxV1LpVFO661lBQmzWw.png" /></figure><p><strong>4. Model version</strong> — We will be using the latest gpt-3.5-turbo which is the most capable and happens to be the most cost-effective too.text-davinci-003 is also equally capable of taking one-off instruction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K6TqEHB-FoI6QCW24i3-Ww.png" /></figure><p><strong>5. Tokens</strong> — Think of this as the currency for using OpenAI’s capabilities. Tokens are chunks of a word that is fed into the API. The cost of GPT-3.5 and Davinci is the same at $0.002 / 1,000 tokens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sPfzvQTp7oyy2NsUnINIBg.png" /></figure><p>1 token is approximately 4 characters or 0.75 words for English text. One limitation to keep in mind is that your text prompt and generated completion combined must be no more than the model’s maximum context length (for most models this is 2048 tokens or about 1500 words).</p><p>OpenAI provides a basic Next.js example project that we can clone and test the API.</p><pre>git clone https://github.com/openai/openai-quickstart-node.git<br>cd openai-quickstart-node<br>npm install<br>npm run dev</pre><p>And open localhost:3000 . I typed elephant and saw some results. <strong>It works!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hVWR11pHX4GOcXQi4r7DaA.png" /></figure><p>On the next page, we will dig deeper into the API documentation to map out which ones are of interest to our use cases. See you there!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b88c7423f92b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 3: Validating AI feasibility (in ChatGPT)]]></title>
            <link>https://oat-on-a-boat.medium.com/page-3-validating-ai-feasibility-b81235d94085?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b81235d94085</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[resume]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Sat, 18 Mar 2023 22:34:37 GMT</pubDate>
            <atom:updated>2023-03-19T18:59:57.114Z</atom:updated>
            <content:encoded><![CDATA[<h3>Validating AI feasibility</h3><p>Thought deeply about it overnight (til 3 AM) and realized AI is an integral part of the app and should be MVP. Before moving further, we need to validate that we have available resources for AI capabilities that can do what we expect it to do.</p><p>What do we want it to do?</p><ul><li>Generate a high-performing resume draft based on a role and general information about the user’s experience/skills</li><li>Rewrite a resume based on a job description</li><li>Rewrite a resume based on other resumes</li><li>Highlight strengths and weaknesses of a resume against that job description, with prompts to improve</li><li>Translate resumes in different languages</li><li>Share insight around critical keywords/outlines that high-performing resumes use for a certain role</li></ul><p>A simple test with Chat GPT that a lot of these are very doable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4JbMCgkJSFVLe2Fl" /></figure><p>I then pasted a sample senior frontend engineer job description. It came back with a pretty decent draft that highlighted a lot of the job requirements. It is a bit lengthy, but certainly, a good place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QNlZ-gW3yyMJ1J2s" /></figure><p>I then fed it more information about my experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EDWi01xCIg-nANRd" /></figure><p>Then it rewrote based on it while keeping its reference to the job description from earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lY3NmxIz9IHCoiTT" /></figure><p>Additionally, I can ask AI to generate the list of hard and soft skills listed in the JD and show me which are included in my resume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k7LfJW3V_fu3FG6z" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o3zuRmTmJF61t6dS" /></figure><p>As you can see, this opens up tons of opportunities for improvements that we can ask AI to assist us with. Displaying insights, and actionable items like “Emphasize my leadership experience clearly” can be powerful allies to save us time and make us stand out more. In fact, this actually got me more excited to build this application that leverages this power in a clean interface.</p><p>This is just the Chat interface, so the next step is to revalidate with the public version of OpenAI API that we will use to power the application in the background.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b81235d94085" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page 2: Name and Branding]]></title>
            <link>https://oat-on-a-boat.medium.com/page-2-name-and-branding-b73cbdd24a12?source=rss-95ccff58844a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b73cbdd24a12</guid>
            <category><![CDATA[application-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[branding]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[logo]]></category>
            <dc:creator><![CDATA[Oat Wongsajjathiti]]></dc:creator>
            <pubDate>Sat, 18 Mar 2023 22:28:46 GMT</pubDate>
            <atom:updated>2023-03-18T22:28:46.084Z</atom:updated>
            <content:encoded><![CDATA[<p>The first and most step of a project is, of course, the project name. Who has time to brainstorm different titles and typography in 2023? Let’s use AI.</p><p>First I went to <a href="http://namelix.com/">Namelix.com</a> to generate a name.</p><p>You can feed basic keywords about the brand, and select name styles, and levels of randomness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Lw__mc8efuzBZxd9sB_IQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1hZhYlDwe_XW44gfKTS46A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dQjs0sa09VXAhnRLfzUZ6A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ejHW6-FWKe_nfq4H3LQIw.png" /></figure><p>What I got was a list of names related to the app I want to build.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dSDK1kPaeQB8EelwSNMzVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QlUxr43cacLLmXewoHxdkQ.png" /></figure><p><strong>Hirable</strong> looks cool.</p><p>Then I went to <a href="http://brandmark.io/">Brandmark.io</a> to rethink the fonts and colour.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5RGq_R55WnUJMoebImZQQA.png" /></figure><p>Found a few cool ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qTAhoPwOS-mcgRQfh7D1og.png" /></figure><p>And now we ended up with a great app name and style/logo in &lt;5 minutes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b73cbdd24a12" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>