Listen "Evaluating LLMs with Leva"
Episode Synopsis
In this episode of the Ruby AI Podcast, host Valentino Stoll talks with special guest Kieran, a prominent figure in the Ruby AI space. Kieran recently gave a talk at the San Francisco Ruby Meetup about his new gem, Leva, which focuses on LLM evaluations in Ruby. Kieran discusses his background, his passion for AI and Ruby, as well as his journey in building AI products, including his tool Cora, which helps manage email inboxes by categorizing and summarizing emails using AI. Together, Valentino and Kieran explore the process, challenges, and best practices of creating AI-driven gems and tools in Ruby, the importance of evaluations, and the fun and creative aspects of integrating AI into Ruby on Rails projects.Mentioned in the show:Kieran Klaassen – Ruby developer, creator of Cora and Leva.Leva gem – Kieran's LLM evaluation framework for Rails.Jumpstart Pro – “is the best Ruby on Rails SaaS template out there”.Stepper / Stepper Motor (workflow engine) – a “journey” with steps for background jobs.Jaccard Index – A metric for set similarity (|A∩B|/|A∪B|).LangSmith – a platform for building production-grade LLM applications.Morph LLM – The Fastest Way to Apply AI Edits (4500+ tokens/sec).Friday AI Agent – An AI-powered coding agent that handles PRs from start to finish.DSPy.rb – Framework for building AI agents and optimizing prompts.Highlights:00:00 Introduction and Guest Welcome00:53 Kieran's Background and AI Journey01:20 Building AI Tools and the Leva Gem03:47 Challenges and Best Practices in AI Development07:16 Evaluations and Real-World Applications07:36 Community Recognition and Adoption12:37 Prompt Engineering and Model Testing22:06 Leveraging AI for Workflow Optimization28:35 Visualizing Workflows and Tools31:44 Exploring Hybrid Orchestration Layers33:15 Debating Deterministic Workflows vs. Agent Flows34:28 The Fun of Experimenting with AI and Ruby34:55 Building Gems and Learning Through Creation40:03 The Value of Rails in AI Development46:28 Evaluating AI Outputs and Metrics50:40 Annotation and Continuous Improvement53:50 Future of AI and Rails Integration54:54 Closing Thoughts and Recommendations
More episodes of the podcast The Ruby AI Podcast
Active Agent with Justin Bowen
07/07/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.