Mathematica

Using OpenAI from Mathematica: Part-3

Written by on February 21, 2025 in Mathematica, OpenAI, Programming with 0 Comments
Using OpenAI from Mathematica: Part-3

Let us continue our discussion on using Mathematica to interact with OpenAI (you may want to go through the earlier article as well). The simplest function to interact with the LLM is LLMSynthesize[]. As you might have guessed, this is a “sync” (non-streaming) call. What if you expect a long response and you don’t want […]

Continue Reading

Semantic Search in Wolfram Mathematica

Written by on November 9, 2024 in Mathematica, Natural Language Processing, OpenAI, Programming with 0 Comments
Semantic Search in Wolfram Mathematica

In an earlier article, I explained how to use OpenAI from Wolfram Mathematica ver 14.1. This latest release of Wolfram supports Semantic Search as well. In today’s article, let me discuss this feature. As in the case of using LLMs, using Semantic Search requires an account with one of the supported vendors. I will continue […]

Continue Reading

Using OpenAI from Mathematica: Part-2

Written by on October 2, 2024 in Mathematica, OpenAI, Programming with 0 Comments
Using OpenAI from Mathematica: Part-2

I had written an earlier article showing how to use OpenAI models from Mathematica ver 14.0.  Wolfram Mathematica ver 14.1 was released recently, with several improvements in the area of LLMs. Of course, there are many other core additions as well, but our focus is on LLMs in this article. This version supports many vendors other […]

Continue Reading

Using OpenAI from Mathematica

Written by on May 20, 2024 in Mathematica, OpenAI, Programming with 0 Comments
Using OpenAI from Mathematica

Mathematica was among the first to integrate with OpenAI. The functionality is nicely exposed in terms of a few pre-defined functions. Let us explore some of the functionality in today’s article. The simplest way to get started is to use LLMSynthesize function: It can take a few seconds before you get the answer. If this is […]

Continue Reading

WolframAlpha, ChatGPT, and the Future of AI

WolframAlpha, ChatGPT, and the Future of AI

We all know that ChatGPT has taken the world by storm. True, it is a major advance of Artificial Intelligence in the area of Natural Language Processing. Many may not know that WolframAlpha, launched in 2009, allowed natural language queries. As a long time user of Wolfram Mathematica, I was pleasantly surprised when the product […]

Continue Reading

Using Julia from Mathematica

Written by on November 24, 2022 in Julia, Mathematica, Programming with 0 Comments
Using Julia from Mathematica

In an earlier article, I had shown how it is possible to interact with Mathematica from Julia. In today’s article, I will share the details of how to interact with Julia from within Mathematica. Why would somebody want to execute Julia code inside Mathematica? Although Mathematica is a great symbolic computing environment offering thousands of […]

Continue Reading

Mathematica: Using TextCases to Extract Information from Natural Language Text 

Written by on September 13, 2020 in Mathematica, Natural Language Processing, Programming with 0 Comments
Mathematica: Using TextCases to Extract Information from Natural Language Text 

Extracting meaningful information from unstructured, human readable text is a hot topic of research today and has important applications in many domains. I have written a few blogs related to this topic, for example, see this and this. In today’s article, I would like to show how Mathematica can be a great help when working with […]

Continue Reading

Pattern Matching: Comparing Elixir and Mathematica

Written by on August 16, 2020 in Elixir, Mathematica, Programming with 0 Comments
Pattern Matching: Comparing Elixir and Mathematica

One of the things I like about Elixir is its support for patterns at the core language level, not through library functions as in most other languages. This contributes to writing cleaner code, in my opinion.   Another environment that I am familiar with, namely Mathematica, boasts of (arguably) the most powerful symbolic programming language called […]

Continue Reading

Using NodeJS in Mathematica 12

Written by on June 8, 2019 in Mathematica, Programming with 0 Comments
Using NodeJS in Mathematica 12

In an earlier article, I had described Python integration in Mathematica 12. In addition to Python, NodeJS is also supported as a default “external” language. In today’s article, I will focus on NodeJS integration. By the way, NodeJS support was introduced in Mathematica 11.2. Before using NodeJS with Mathematica 12, the system must be configured […]

Continue Reading

Currying in Mathematica

Written by on May 19, 2019 in LISP, Mathematica, Programming with 0 Comments
Currying in Mathematica

One of the more recent additions to the core Wolfram Language is the “Curry” function. It was introduced in Mathematica ver 11.3 and is still (as of ver 12.0) considered Experimental. In this post, I would like to go over this function briefly. Non-curried functions in Mathematica have to be invoked with the arguments (both […]

Continue Reading

Top