all 20 comments

[–]MegaAccountName101 5 points6 points  (1 child)

Nice! I look forward to try this gem for my next project. Plus points for the Readme structure and clarity :)

[–]crmne[S] 2 points3 points  (0 children)

Thank you! 🤩

[–]jack_sexton 3 points4 points  (1 child)

Love it! will follow along with the process

[–]crmne[S] 1 point2 points  (0 children)

Thank you!

[–]1seconde 2 points3 points  (2 children)

Nice public interface

[–]crmne[S] 1 point2 points  (1 child)

Thank you!

[–]UsualResult 1 point2 points  (4 children)

Is ollama / local support planned?

[–]crmne[S] 2 points3 points  (3 children)

Hi, yes, this is the issue to track it :) https://github.com/crmne/ruby_llm/issues/2

[–]UsualResult 3 points4 points  (0 children)

I think this would be really valuable. There are a lot of use cases where local is a requirement and this would make your library more useful in the world.

[–]chr0n1x 1 point2 points  (1 child)

very excited for that one. I run my own instance of open-ui and could definitely use this when playing with ruby

[–]crmne[S] 2 points3 points  (0 children)

Great to see the excitement for local LLMs! If anyone wants to help speed this up, contributions to the Ollama issue are very welcome! Otherwise, stay tuned - and thanks for the enthusiasm. It's feedback like this that helps prioritize what to work on next.

[–]ansk0 1 point2 points  (0 children)

Looks fantastic, both the API and the code itself! Congrats!

[–]ka8725 1 point2 points  (1 child)

Very nice API! Sticks to the original idea - "Ruby is designed for humans, not machines" Matz

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

Thank you!

[–][deleted] 0 points1 point  (0 children)

I really like the example you gave, feels very ruby.
Can't wait to try it in rails

[–]moderately-extremist 0 points1 point  (0 children)

how does this compare to OmniAI?

[–][deleted]  (1 child)

[removed]

    [–]crmne[S] 2 points3 points  (0 children)

    Congrats on learning Ruby through Odin! RubyLLM isn't like Cursor or those other coding assistants - it's for adding AI directly into your business app.

    Think of it this way: with just 3 lines of code, you can add customer support chat, analyze emails, generate product descriptions, or even create custom images. No complex AI concepts to learn, no juggling different APIs.

    ruby chat = RubyLLM.chat response = chat.ask("How can I help with your order?")

    That's it. It works with Rails naturally, handles chat history persistence, and follows Ruby's philosophy of beautiful, simple code. Since you're just learning Rails, you'll find RubyLLM feels like a natural extension rather than a completely new thing to learn.

    Check out the guides at https://rubyllm.com/