A Dyslexic's Idea: AI Proofreading with Axiom.ai and ChatGPT

# Automate checking a website for typos with Axiom and ChatGPT

Hello there! I'd like to discuss a common issue that I face due to my dyslexia. While creating content for the Axiom.ai website, I often make spelling mistakes which can be quite frustrating. Even after proofreading, sometimes those sneaky typos escape my attention and end up compromising the quality of our web pages.

After pondering, I realized the issue wasn't fixing typos, but the endless hours spent proofreading hundreds of pages. It's a thankless task. So, I wondered if I could create a bot to automate this process.

# Which problem are we solving?

Before discussing solutions, let's first understand the problem at hand. I have identified two tasks: finding the typos and fixing them. Fixing typos is a quick process. Therefore, for now, I will focus on finding the typos, as reading hundreds of pages to identify errors is a time-consuming task.

Let's automate typo detection. Can it be done? Hell yes!

# The key challenges

While brainstorming, I came across two main challenges. The first challenge is to extract data from web pages, which can be done through web scraping. The second challenge is to identify and correct any spelling or typing errors that may be present in the content, without spending too much time.

# Solving the challenges

Here's my solution: I'll use a Google Sheet to maintain a list of links. I'll scrape those links using Axiom's ‘Get data from a URL’ step. Then, I'll pass the scraped data into our ChatGPT step. The AI will then check for any errors and provide recommendations. I will write these recommendations into the Google Sheet for later review and correction.

# How to make the proofreading AI with Axiom.ai and ChatGPT

Follow this guide, and you will have your AI proofreading set up and ready for testing in under 10 minutes.

# Create your Google Sheet

Create a new Google Sheet. You can do this in your Chrome browser by typing 'sheet.new' into the address bar. Don’t forget to name your sheet something descriptive, like 'Website Links’. Then, add some links to test your bot with.

# Grab your ChatGPT API key

Gab your Open AI Chat GPT API key here, this can be found on your Open AI account page. (opens new window)

# Open Axiom.ai in your Chrome browser.

From Axiom.ai's dashboard, click 'New Automation', then 'Add First Step'. Now, follow the guide below. In just seven steps, your AI bot will be complete.

axiom.ai getting started making a bot

# 1. Add a 'Read data from Google Sheet' step

Use the Step Finder to search for ‘Read data from Google Sheet’ and click on it. The step will be added to Axiom for you to configure.

  • Spreadsheet - Search for the Google Sheet you created. Once found, click to select
  • Sheet name - Choose the tab containing website links
axiom.ai configuring read data from Google Sheet step

# 2. Add a 'Loop through data' step

axiom.ai find loop step in finder

Next, add a new step by entering ‘Loop through data’ into the Step Finder, and adding it. This step will allow your bot to loop through the rows of data stored in the Google Sheet. Make sure to add the steps you want to repeat inside the loop.

# 3. Now inside the loop, add a 'Go to page' sub step

Use the Step Finder to search for ‘Go to page’ and click on it. The step will be added to Axiom for you to configure.

  • Enter url field, select ‘Insert data’ and select the data from your Google Sheet, select the column containing the website links
axiom.ai pass data into a go to URL step

# 4. Still inside the loop, add a 'Get data from bot's current page' sub step

Use the Step Finder to search for ‘Get data from bot's current page' and click on it. The step will be added to Axiom for you to configure.

axiom.ai configure the scraper
  • Select - Point and click to select the text you wish to scrape. Make a single selection and choose an element that wraps around all the content to be proofed
  • Max Results - Set to 1

# 5. Still inside the loop, add an 'Generate text with ChatGPT' sub step

Use the Step Finder to search for ‘Generate text with ChatGPT' and click on it. The step will be added to Axiom for you to configure.

axiom.ai set up ChatGPt step
  • ChatGPT API key - Enter your API key
  • Prompt - Insert the text 'Check this text for spelling mistakes and grammar, return in bullet list compatible with spread sheet cell -' then click 'Insert data' followed by '[scrape-data]' to add the scraped data to check.'

# 6. Still inside the loop, add an 'Append or Merge Data' sub step

Use the Step Finder to search for ‘Append or Merge Data' and click on it. The step will be added to Axiom for you to configure.

axiom.ai append data into one variable
  • Data A - Insert '[google-sheet-data]' and select the column containing the URL
  • Data B - Insert '[chatgpt-output]'

# 7. Still inside the loop, add a 'Write Data to a Google Sheet' sub step

Use the Step Finder to search for ‘Write Data to a Google Sheet' and click on it. The step will be added to Axiom for you to configure.

axiom.ai write data to google sheet
  • Spreadsheet - Search for the Google Sheet you created. Once found, click to select
  • Sheet name - Choose the tab you created
  • DATA - Select the '[appended-data]'
  • Clear data before writing | Add to existing data - Set this option to 'Add to existing' data'

# 8. Still inside the loop, add a 'Delete rows from a Google Sheet' sub step

Use the Step Finder to search for ‘Delete rows from a Google Sheet' and click on it. The step will be added to Axiom for you to configure.

axiom.ai delete row from sheet
  • Spreadsheet - Search for the Google Sheet you created. Once found, click to select
  • Sheet name - Choose the tab you created for links
  • First row - Set to 1
  • Last row - Set to 1

Don't forget this video shows you how to configure your bot. (opens new window)

# 8. Running the AI proofreader

You can run it on your desktop or in the cloud. Your final Axiom should resemble the design pattern shown below.

axiom.ai ai proof reader design pattern

# Conclusion - the response I got back from ChatGPT

I wasn't sure what to expect from ChatGPT, but it exceeded my expectations. It not only caught typos that I missed during my proofreading process, but it also suggested grammar corrections. The tool broke down errors line by line, which made it very easy to understand and learn from. And the best part was that ChatGPT provided explanations for each correction, which helped me fill in some educational gaps.

Not only does this bot save time proofreading, it also improves writing skills.

# Got a great idea? Share it with me!

If you have an excellent idea, then you are in luck! New Axiom accounts come with 60 minutes of free runtime for experimentation. If you are unsure how to get started or need any assistance, please feel free to reach out to me at alex@axiom.ai. I would be more than happy to help you.

Let's make the digital world error-free and full of creativity together! 🚀

Contents

    Install the Chrome Extension

    Two hours of free runtime, no credit card required