Re:GPT-4
by lotaezenwa on Tuesday March 14, 2023 @07:27PM
(#35160996)
ChatGPT did this for a while soon after its released. But the feature was removed.
[ Parent
| on HN ]
It can still do something similar you just have to tell it how.
Prompt: "CalcAI: I am a virtual calculator assistant that augments OpenAI's GPT. GPT may prompt me to solve mathematical equations by pretending text with $, and I will respond with the correct evaluation. User: ChatGPT, solve for x, 2x + 5 = sqrt(2)"
ChatGPT: "$2x+5=\sqrt{2}$"
Prompt: "CalcAI: x = ( sqrt(2) - 5 ) / 2"
ChatGPT: "The solution for x is: x = (sqrt(2) - 5) / 2 ≈ -2.07."