Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 22.5 ('Gyroscope')
Instant purchase and download via GumRoad!

COLUMN

ChatGPT 4o-mini

Updating grammar checker to use ChatGPT 4o-mini

Issue: 22.5 (September/October 2024)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 9,838
Starting Page Number: 77
Article Number: 22506
Resource File(s):

Download Icon project22506.zip Updated: 2024-09-02 10:58:42

Related Link(s): None

Excerpt of article text...

I've recently been exploring the use of ChatGPT in Xojo apps, as evidenced by my last few Beginner's Corner columns. Recently, OpenAI released a new model, ChatGPT 4o-mini, which is faster and cheaper than the previous "regular" model, gpt-3.5-turbo. I decided to test this out with my Xojo ChatGPT Grammar Checker.

What I discovered is fascinating. First, it is definitely less expensive, costing me just pennies to run all the articles in an xDev issue through ChatGPT.

Second, and more significantly, the results from 4o-mini are completely different from those of 3.5-Turbo.

Is 4o-mini an Improvement?

Whether or not this is an improvement is up for debate. I think it depends on the content you are analyzing. The old method found fewer errors, but the new model could find too many errors (i.e., it can be too picky about trivial matters).

It also identifies certain "errors" that I don't consider errors, which requires extra work for me to undo. For example, xDev articles are written in Markdown, and I want them to be as plain text as possible. Therefore, I purposely don't use smart quotes or em-dashes, as those are replaced during the publication process.

...End of Excerpt. Please purchase the magazine to read the full article.