Currently when using Langchain::Assistant the Messages, attached to a Thread, cannot be saved. A deeper integration with Rails via this gem would improve this.
Tasks
Create an ActiveRecord Message model.
Create an DB migration to create the underlying messages table.
Create a generator to generate both the DB migration and the ActiveRecord model.
Description
Currently when using Langchain::Assistant the Messages, attached to a Thread, cannot be saved. A deeper integration with Rails via this gem would improve this.
Tasks
messages
table.