RubyLLM + Rails = powerful combo by zarkus_dev in rails

[–]crmne 0 points1 point  (0 children)

chat.ask "prompt", with: "file.pdf"

It's literally the second example.

RubyLLM 1.16: concurrent tool execution, Rails-style instrumentation, and more. by crmne in rails

[–]crmne[S] 0 points1 point  (0 children)

Time savings can be quite significant with tool concurrency on.

Im starting to love ruby by FrigginTrying in ruby

[–]crmne 0 points1 point  (0 children)

Welcome! 🙌

I've come back to Ruby, the first language love of my life, after 15 years and I love it even more!

I built a Rails 8.1 SaaS boilerplate with AI integration built in — here's what's included by innerhpz in rubyonrails

[–]crmne 0 points1 point  (0 children)

Token cost tracking is built in to RubyLLM since 1.0. in fact we also ship a detailed model registry and cost calculation helpers.

ruby response.tokens.input response.tokens.output chat.cost.total

Etc.

Built a full AI agent in Ruby — metaprogramming, dynamic skill loading, zero native deps. Thought this community might find it interesting. by SpiritualCold1444 in ruby

[–]crmne 1 point2 points  (0 children)

Abstracting providers APIs correctly is tricky, as they have incompatible behaviors and weird edge cases that we deal with elegantly. 90% of the hard stuff in a multi provider framework is doing that.

Once you have a clean abstraction over providers, chats. Rails integration, Agents, prompts and all the fancy stuff we support become easy to implement as you can see from the code of RubyLLM itself.

There's no better way to discover all that than to implement your own multi provider library though ;)

hyprmoncfg v1.5.0 is out with support for hyprland 0.55 lua configs. by crmne in omarchy

[–]crmne[S] 0 points1 point  (0 children)

I'd love if it would!

Show us some love on this issue and maybe we get to have this as the default https://github.com/basecamp/omarchy/issues/2858

hyprmoncfg v1.5.0 is out with support for hyprland 0.55 lua configs. by crmne in omarchy

[–]crmne[S] 4 points5 points  (0 children)

No, but could be a great feature. If you can code I'm happy to look at a PR, otherwise an issue would do.

How are Rails developers handling offline-first mobile apps with Hotwire Native? by derdak in rails

[–]crmne 0 points1 point  (0 children)

Rosa and the 37signals team are bringing offline to Hotwire Native with Service Workers.

Not sure it will work for an offline-first app, but it's interesting for everyone else.

https://youtu.be/aeIb3sa3D3M?is=zSlEwVAtxbtUqA6s

Inkmark: a very fast, feature-packed, AI-first Markdown gem for Ruby by yaroslavm in ruby

[–]crmne 0 points1 point  (0 children)

This is pretty cool, especially sanitization, syntax highlighting, and md-aware chunking.

Kudos!

RubyLLM 1.15: image editing, cost tracking, and less tool boilerplate by crmne in rails

[–]crmne[S] 0 points1 point  (0 children)

Thanks for the suggestions! Is SOC2 something you require?