GPT + Microsoft, Bard/Google and Beyond

The public conversation about AI tools is stuck focusing on ChatGPT, ignoring older uses of AI and other tools. Although it’s easy to use and flashy, but there is more to AI than a chat engine.

Microsoft has a couple of ways of interacting with a GPT derived chat tool. In the title bar of their Edge browser, there’s a prominent ‘b’ logo that opens a side panel to start a conversation. One enhancement to ChatGPT is that the Edge browser will give links referring to information sources. A conversation mode is also directly integrated with bing.com search results.

Google has an experimental chat service, Bard, at https://bard.google.com. My limited experience with Bard has been unsatisfactory so I have only used it a few times.

I have a specific use case with the interactive engines: helping me with programming language syntax and techniques. I’m not using it for the high-powered manner app-generating miracles that I’ve seen described in the media. Instead, I’m using it to supplement conventional help resources. As I learn more, I can ask more complex questions and develop increasingly useful skills.

Bard answers my questions in a very stilted manner. When I ask a programming question, the code it generates can be stand-alone. The code includes fluff such as verbiage allowing me to copy and paste the suggested code and directly execute it. That is frustrating because my goal is to learn how a feature works, not generate sample code. Bard is evolving, but what I’ve seen so far isn’t compelling me to use it. It prefers to give a specific, narrowly focused answer rather than explain a concept. I doesn’t know the context of my questions and give an example with minimal insight.

Bing’s search tool is much more useful to me. It remembers the context of my current questions. I don’t have to tell it “Python” or “JavaScript” every time I’m asking a new question. It presents example code that is relatively terse and succinct, helping me not get bogged down by unrelated details. I don’t expect the code to be stand-alone because I’m not looking for it to write code for me.

However, sometimes, a web search is more effective than using chat features. There are a few specialized sites such as https://stackoverflow.com that can answer questions. A search on Google, DuckDuckGo or Bing can go off base and include unneeded results, especially when the correct technical term has other generic uses. In one pleasing interaction, Bing’s top-line short answer was unrelated, but when I opened the chat, the chat answered the real software issue I was trying to understand.

It seems that ChatGPT is “sucking all of the Oxygen out of the room.” All of the news or blog commentaries talk about its threats and promise. They forget that AI has more uses beyond general-purpose conversational tools.

I have been using less prominent and limited AI for quite a while. Edge and Microsoft 365 (Office) both have been giving me suggestions as auto-complete so that I can accept with a tab press. It is not flashy, but it can save time. The keyboard interface to my iPhone’s messaging app also tries to predict what I intended. They are using Artificial Intelligence algorithms for that service. It is helpful.

My realization is that that AI is not a new tool. Amazon and others use it to identify potential sales based on its analysis of customer search and sales history. This Big Data application of artificial intelligence is old enough that it’s invisible now. It’s just called “the algorithm” and it is so ubiquitous that it’s often mundane.

If you don’t use the Edge browser and Bing search engine, you’re not going to see these additional ways of using the GPT Engine. I find them very productive. AI has a public face in ChatGPT, but there are other ways AI technology is common.

Labeling equations in Microsoft Word

I recently published a video about equation labels in Microsoft Word. It explains that it is easy to get displays like these. (The dashed line represents the right margin) This post also describes how to create these layouts.

Sample equations

The additional steps needed to make the labels count in sequence is a topic that this post doesn’t cover. The emphasis here is in creating expressions with Word.

To get these label results, I put a pound character (#) in an equation region at the end of the main equation. When I follow the # with the label and hit enter, the equation label will be separated and shifted to the right. Even though # is a reserved character in stock LaTeX, this use of # works when you are entering the equation with both Word’s LaTeX syntax as well as the less verbose Unicode formatting.

When you have text in an equation, it is created with a math font. Cambria Math is the default. When you change the font size, it affects the whole equation. If you change the font, it also affects the whole equation. Only math fonts are allowed. If you try to change the normally entered equation to a regular (non-math) font, the change is ignored. [Fonts for Mathematics, Johannes Küster describes some characteristics of a math font.] Several math fonts are available online.

Other attributes can be adjusted on a sub-expression by sub-expression basis. For example, bold and underline as well as color and highlighting can be changed with fine grain control. An interesting puzzle is to discover how to make a calculus integral expression with the integral sign in red and the rest of the equation black.

However, by enclosing text in double quotes and then accepting them, the quoted text can display different fonts and font sizes without changing the rest of the equation. The quotes are hidden when the equation is finished. This is possible in any part of an equation.

The labels are part of the equation so, unless the text after the # is enclosed in double quotes, it has the same features and limitations of any other equation. To put an expression such as \(\pi^2\) in the label, don’t include that part in double quotes so that the equation formatting syntax works there.

I am using Microsoft 365 current in May 2022 with the “Conversions” group of the Equation tab set to Unicode.

How I made these:

The rest of the article shows how I made the formulas above with minimal use of the mouse. The blue marks are created by a Windows accessibility option that highlights the location of the cursor.

Most of the work could also be done with the menus for those who make equations only rarely. I found that after doing several homework assignments with Word equations, I wanted to be faster than I could be with the menus.

Quadratic equation:

This equation is built-in, but in the example, I created it manually.

I’m diagraming the expression from the inside out. I marked ‘*’ where I used the spacebar. This equation does not require the mouse.

The chart shows the sub-expressions broken out to show what each piece displays. The appearance column shows what you display with each part composed on its own.

In the end, the last line of the table is enough. I would enter that text in sequence to create the final result. Hitting the enter key at the end of the entry finished the formatting.

AppearanceEquation text
b^2-4ac
\sqrt(b^2-4ac)*
-b+-\sqrt(b^2-4ac)*
(-b+-\sqrt(b^2-4ac)*)/2a*
x=(-b+-\sqrt(b^2-4ac)*)/2a*
x=(-b+-\sqrt(b^2-4ac)*)/2a*#(eq. 1)
quadratic equation steps

N choose k

For this example, I’ll diagram it as it’s enetered from left to right. I needed to use the mouse for a couple of steps.

I build the expressions as fractions. Then I used the context menus to hide the fraction bars, leaving the “n choose k” formatted conventionally.

Appearancetext to enter
(n/k)
=
(n/(n-k)
[hit space]
)
[hit space]
Select first numerator, right click and use menu
Select second numerator, right click and use menu
#(eq. 2)
[enter]
n choose k steps

Inequality

I used double quotes to input normal text in the middle of the equation (the “iff”). It treat the “iff” text as literal so that it isn’t italicized. To accomplish that, I create it in double quotes. In general, quote-escaped text is not italicized like other parts of a math expression.

In this example, I’m showing the steps in the order I took them.

typed a<b “iff”

typed [space]

typed a

Selected “Neither Greater Than nor Equal To” operator from the Operators subset of the Symbols group of the Equation tab

typed b#”and then?”

Hit [enter] to separate the label

selected the word “then” with the mouse

Changed the Arial Black font from the font pulldown on the Home tab

Final expression.


Answer

To color only the integral sign red, select the integral sub-expression; make the selection red; then select each sub-sub-expression and restore them to black.