OpenAI

Interacting with OpenAI API using Golang

Written by on February 4, 2025 in Golang, OpenAI, Programming with 0 Comments
Interacting with OpenAI API using Golang

I normally use Python’s LangChain framework to communicate with OpenAI API. For a change, I wanted to see if Go has any libraries to access OpenAI and other LLMs. Interestingly I found that LangChainGo is a port of LangChain for Golang! I decided to implement a simple Completetion request in both streaming and non-streaming modes. Turned […]

Continue Reading

Using OpenAI from Allegro Common Lisp

Written by on January 20, 2025 in LISP, OpenAI, Programming with 0 Comments
Using OpenAI from Allegro Common Lisp

Allegro Common Lisp ver 11.0 introduced support for OpenAI LLMs. In this article, let us look at some of the functions for interacting with OpenAI. First we need to specify basic parameters such as the API key, LLM to use, Temperature, etc. I have defined a convenient function configure-openai to do this (full source is included […]

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

Blending Tamil and English Poetic Devices

Written by on October 20, 2024 in OpenAI with 0 Comments
Blending Tamil and English Poetic Devices

Tamil language is known for its classical literature, especially the poetic forms built using exotic syntactic and semantic structure. The two most widely referenced books on Tamil Poetry grammar are Yapperungalakkarigai and Thandialangaram.  I have had the pleasure of studying both as a High School student a few decades ago. They still continue to amaze me! […]

Continue Reading

Using ChatGPT for Algorithmic Music Composition

Written by on October 13, 2024 in Music, OpenAI with 0 Comments
Using ChatGPT for Algorithmic Music Composition

Algorithmic music composition is one of my favourite areas. And in terms of tools, as several of my past articles show, OpusModus software is the main choice.  Recently I have been spending some time checking if ChatGPT could be cajoled into writing some good OpusModus code. But the experience has not been very positive; the code […]

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

Building a Xojo App to Interact with OpenAI API

Written by on March 16, 2023 in OpenAI, Programming, Xojo with 1 Comment
Building a Xojo App to Interact with OpenAI API

A few weeks ago I registered with OpenAI to access its services through API and created a secret Key for my use. I then decided to build a simple application to try out the “Chat” and “Completion” models. Since I have several tools at my disposal (RAD Studio, LispWorks, Allegro CommonLisp, Visual Studio, and Xojo), […]

Continue Reading

Top