
Premium
Subscribe and watch now!
AI on Rails
7 Lessons
1h 00m
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 without writing or deploying any code.
Discussion (2)
To comment you need to sign up for a free account or sign in.
It'd be great if you could show how to persist the conversation with a particular agent in the chat in future videos!
In this video (https://rapidruby.com/lessons/60-persisting-chat-history) I show how to persist the messages into the DB. Is there anything missing you'd like me to cover?