mix ash_ai.gen.chat (ash_ai v0.4.0)
View SourceGenerates the resources and views for a conversational UI backed by ash_postgres and ash_oban
Creates a YourApp.Chat.Conversation and a YourApp.Chat.Message resource, backed by postgres and ash_oban.
Example
mix ash_ai.gen.chat --user Your.User.Resource --live
Options
--user- The user resource.--domain- The domain to place the resources in.--extend- Extensions to apply to the generated resources, passed through tomix ash.gen.resource.