Software Review: Synergy Viva – Genie Module

Written by on May 11, 2025 in Homeopathy with 0 Comments
Software Review: Synergy Viva – Genie Module

Synergy Homeopathic has released an upgraded version of their earlier “Synergy SHS” software in the name of “Synergy Viva”. The main improvement in this release is the ability to add-on optional modules.  I upgraded to the new release about a week ago and opted for the “Genie” add-on. What is special about “Genie”? According to […]

Continue Reading

Beyond Ownership: Understanding the Role of std::weak_ptr in Modern C++

Written by on May 4, 2025 in C++, Programming with 0 Comments
Beyond Ownership: Understanding the Role of std::weak_ptr in Modern C++

Smart Pointers in C++ are elegant abstractions for managing dynamic memory safely, avoiding dangling pointers and preventing leaks. While std::unique_ptr and std::shared_ptr are well understood and widely used, std::weak_ptr often demands a deeper dive to use correctly. In this article, I will attempt to explain what it is and where it is useful. Some basics […]

Continue Reading

Interfaces Without Inheritance: Comparing C++ and Common Lisp

Written by on April 24, 2025 in C++, LISP with 0 Comments
Interfaces Without Inheritance: Comparing C++ and Common Lisp

Clean interface design is a crucial aspect of software engineering since it enables code flexibility, reuse, and maintainability. Developers who prefer an object-oriented approach typically rely on inheritance to define the interface and thus establish type relationships. While this can lead to a good design if approached carefully, detractors of OOP point out that this […]

Continue Reading

Using Claude to Generate RDF Triples

Written by on April 11, 2025 in Homeopathy, Knowledge Representation with 0 Comments
Using Claude to Generate RDF Triples

We all know that LLMs are now capable of generating structured data. I have used OpenAI models earlier to generate Tables and JSON data, but this time I wanted to try a more complex example.  As someone interested in Homeopathy, I wanted to generate remedy descriptions as RDF triples, in particular, Turtle (TTL) format. That […]

Continue Reading

Exploring OpenAI Agent SDK

Written by on March 26, 2025 in OpenAI, Programming, Python with 0 Comments
Exploring OpenAI Agent SDK

OpenAI recently released its open-source Agents SDK. The documentation looked interesting, so I decided to give it a try. The SDK supports multiple agents working together using “handoffs”. The example I am using in today’s article involves 3 agents: 1) Agent who specializes in answering questions on Planetary positions 2) Agent who handles everything else […]

Continue Reading

Getting Started with HuggingFace Smolagents

Written by on March 12, 2025 in Agents, OpenAI, Programming, Python with 0 Comments
Getting Started with HuggingFace Smolagents

Agents and Agent frameworks are hot topics these days. LangChain, crewAI, LangGraph, Microsoft Semantic Kernel, and Microsoft Autogen are some of the popular agent frameworks. Smolagents is a relatively new entry in this arena. It is a lightweight agent framework from the well-known HuggingFace platform. In today’s article, I want to show how easy it […]

Continue Reading

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

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

Word Transformation Puzzle – Part 2: Implementation in Common Lisp

Written by on January 4, 2025 in LISP, Programming with 0 Comments
Word Transformation Puzzle – Part 2: Implementation in Common Lisp

In the last article I discussed an interesting word puzzle and showed how to solve it using Prolog. Here is the problem statement: “You are given two words of the same length. You have to transform the first word into the second word, by changing only one letter at a time. The additional constraint is that […]

Continue Reading

Top