Live data from Hacker News

RubyLLM: A delightful Ruby way to work with AI

github.com

1–10 of 182 posts

Re: RubyLLM: A delightful Ruby way to work with AI

#5
post #2

Such a breath of fresh air compared to poor DX libraries like langchain

I’ve found the Ruby community really cares about DUX. Not sure why it’s not in other language communities

Matz said he designed Ruby to optimize for developer happiness, it’s just a core principle of the language since it was created

Re: RubyLLM: A delightful Ruby way to work with AI

#7
post #2

Such a breath of fresh air compared to poor DX libraries like langchain

langchain and llamaindex are such garbage libraries: not only they never document half of the features they have, but they keep breaking their APIs from one version to the next.

Re: RubyLLM: A delightful Ruby way to work with AI

#9
post #8

Is this gonna be the thing that finally makes me tried Rails? Ruby syntax really is just nice.

I think it's the very nice-looking and clean high-level API that should be a pleasure to use (when it fits the job, of course).

I'm pretty sure this API semantics (instance builder to configure, and then it's ask/paint/embed with language-native way to handle streaming and declarative tools) would look beautiful and easy to use in many other languages, e.g. I can imagine a similar API - save, of course, for the Rails stuff - in Python, C# or Erlang. While this level of API may be not perfectly sufficient for all possible LLM use cases, it should certainly speed up development time when this level of API is all that's possible needed.

Post reply on HN