I can't seem to figure out how to do a simple prompt i.e. one prompt - one response. What would be the simplest way using AshAi? How could I do it directly in shell?
I was playing around
AshAi.Actions.Prompt.run/3
AshAi.Actions.Prompt.run/3
but couldn't grok it.
action :my_action do run fn input, context ->...
action :my_action do run fn input, context ->...
this is how my action starts. not sure if I can put somewhere the builtin prompt call :thinkies:
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.