Lessons
Video episodes exploring all things Ruby, Rails and Hotwire.
-
Premium
Let's create our first custom tool with LangChain.rb. Custom tools is where you can unlock the power of AI in your apps, we'll start with a super-simple tool though, to give our...
-
Premium
In this episode we'll use the Tavily search tool included with LangChain.rb to give our agents access to search the web and improve their knowledge.
-
Premium
We'll refactor our messages and create controller action to use turbo streams and live push our messages as and when they are created. This makes the UI feel more responsive.
-
Premium
Let's move our Ai::Agent class to be backed by ActiveRecord and store all our prompts and configuration in the database. This allows us to easily spin up and test new agents wit...
-
Premium
In this episode, we look at storing the chat history in the database, so that you can continue to have a conversation with the agent.