6/23/2023 0 Comments Wolframalpha integration![]() Having them both in the room is helpful because if your question is one that Wolfram can answer, it will answer first (and correctly). Sometimes it's in the right ballpark, and other times it's wildly off. But GPT stuck to its guns, repeating its previous incorrect answer.Īs the example above demonstrates, when asked a factual question, GPT just makes up an answer. So I asked GPT to reconsider (saying simply "GPT?"). GPT was off by more than a factor of two. This time it understood me, and gave me an accurate answer of 5.64 million cows. Plausible, but is it right? I rephrased my question and directed it to Wolfram|Alpha. So it declines to answer, and GPT jumps in, giving me a plausible-sounding answer of 11.7 million cows. But my follow-up question, "How many cows do they have?", was not understood by Wolfram|Alpha, whose natural language processing (NLP) is much more limited than GPT. It speaks up and answers my question directly, and you can trust its answer. The first question, a factual geography question, is the sort of thing Wolfram|Alpha is good at. This example illustrates the key benefits of this team-AI system. You didn't come here to hear me talk - you came to see what the AIs have to say! So let's dive right in with an example session.Įnter fullscreen mode Exit fullscreen mode And if input is just one of these names plus a question mark, the program repeats the last input, but directed toward the AI of interest. As a refinement, I allow the user to direct a query directly to either AI, by prefacing their input with "Wolfram" or "GPT" (or any of several synonyms). ![]() So in the end, I just pass every query first to Wolfram|Alpha, and if it can't deal with it, it returns an error code, and I then hand it to ChatGPT. But I couldn't get it to work no matter what I try, it always replies "invalid appid" (using the same App ID that works just fine with other endpoints). My first thought was to use Wolfram|Alpha's Fast Query Recognizer API, which sounds like it's intended for exactly this purpose. So my basic idea was: let's make a chat room with both of these powerful AIs on hand, and let either one jump in as they can? So I decided to try this for myself! Free API keys are available for both GPT-3.5 and Wolfram|Alpha, making them accessible in environments like Mini Micro using http.get and http.post. In it, the author (Stephen Wolfram?) argues that ChatGPT and Wolfram|Alpha complement each other - the latter being particularly good at numerical, mathematical, and computational tasks where ChatGPT is weak. Wolfram|Alpha as the Way to Bring Computational Knowledge Superpowers to ChatGPT. If you’re interested in exploring Wolfram Alpha further, they also provide a dedicated app for the iPhone and iPad, which is available on the App Store.An interesting essay appeared on Wolfram|Alpha's blog today: To learn more, take a look at our article about how to harness the power of Siri Knowledge.Īs the service develops further, it will offer a speedy and powerful way to get information instantly using Siri and Apple devices. Hey Siri, what is 123 times 40 divided by 9? Hey Siri, what is 150 US dollars in British pounds? Hey Siri, what is the population of Canada? Siri Knowledge can answer questions and perform conversions and complex calculations in seconds. In recent versions of iOS, Wolfram Alpha has been integrated further, known under the umbrella term Siri Knowledge. Rather than return a list of Google search results, Siri uses Wolfram Alpha to generate what it believes is the correct answer. Its usefulness for Siri users becomes clear when asking specific questions such as: How to Use Siri to Send, Check and Respond to Emails
0 Comments
Leave a Reply. |