Ruby, Faraday and LM Studio API

I’ve been playing with the LM Studio REST API v1 using Ruby and Faraday to communicate with the local server – it’s a great system and I’ve had fun creating feedback loops where the LLM reacts to its own creations.

I’ve found IBM Granite Tiny to be a great LLM to play with on a laptop – very fast and decent responses.

I still need to try all the various JSON properties you can embed in the request and examine all the details of the response object.

Two New Languages

I’ve been learning Ruby and Python lately – Python because it’s become required to dive into AI experiments, and Ruby because it’s a beautiful language.

Years ago I used Python in a cybersecurity class, and it’s nice, but I wish Ruby had become the AI language as it’s way more ergonomic and enjoyable. At least it has Rails for a practical application.

I’ve been reading the “pickaxe book” by Pragmatic Programmers for Ruby and “Learning Python” for Python – both classics apparently, and both an interesting read. Also started playing with scripts in PyCharm and RubyMine (JetBrains IDEs).