mix ash_ai.gen.chat (ash_ai v0.2.2)

View Source

Generates 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 to mix ash.gen.resource.