Ash Framework
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.
JoinAsh Framework
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.
JoinManualRead for wrapping an API using attribute constraints
""
, which I'd prefer to be nil. Pretty sure this can be handled with constraints on attributes when the values are casted.
The example in the docs shows manually creating the resource's struct from the API response and using Ash.Query.apply_to/2-3
. Will this approach apply the constraints for the returned values doing this? Or is there a better way to make sure the constraints are applied?...Is there a quick way to let Ash Authentication (Phoenix) inherit my custom daisyUI theme?
ash_authentication
ships with its own styles, which is fine on its own, but won't work well with phoenix from now on (imho).
...Possible regression on actions with upserts on custom identity and embedded unions
main
of ash
?datetime_add shows error Could not cast function arguments for datetime_add/3
calculate :ends_at, :datetime, expr(datetime_add(starts_at, minutes, :minutes))
calculate :ends_at, :datetime, expr(datetime_add(starts_at, minutes, :minutes))
:minute
instead of :minutes
How to conditionally do `run_oban_trigger`?
change run_oban_trigger(:respond)
which triggers
the trigger :respond
.
So, whenever user type a message and enter, an LLM response is generated. I want to change it to only user explicitly type like "@M, xxxx", then the response from LLM should be triggered.
How to do that?...How to setup "AshPostgres.Extensions.Vector"
lib/
folder, and in a .ex
fileopentelemetry_ash not ready for use or not properly configured?
opentelemetry_ash
package (0.1.0). But it doesn't seem to hook correctly into the parent spans, looks kind of useless and hard to navigate. We use SigNoz to visualise the spans, it looks like on the screenshot....
Creating a resource from another endpoint
{{url}}/api/json/location
...Precondition checks and atomic
Is there a way to trigger a before_action without trying to run it?
Port conflict when running new app built using Ash installer
ash ai chat
Cinder.Table count timeout not working as expected
query_opts={[timeout: :timer.seconds(20)]}
```elixir
11:52:17.499 [error] Task #PID<0.16899.0> started from #PID<0.16897.0> terminating...Auto generated `reset_password_with_token` not loading user
reset_password_with_token
action via Ash GraphQL, but I keep getting a not_found
error no matter what I try.
Hereโs my setup (auto generated):
```...Is there a way to overwrite `:langchain` to specify to use custom forked version?
{:langchain, "~> 0.3"}
.
So, I need to fork the langchain and plan to write modules for that provider.
When I specifiy my forked repo in phoenix's mix.exs, it failed at setep: mix deps.get
with error:
Because every version of ash_ai depends on langchain ~> 0.3 which doesn't match any versions, no version of ash_ai is allowed....Problems with AshRateLimiter
Managing many_to_many relationships with AshPhoenix.Form
destroy + create behavior on has_one relationship
manage_relationship
with:
- destroy the previous has_one
- create a new one
from what i understand, it's not quite append_and_remove, because it requires an update to the target record....How to create a Union query within different resources with Combination
Ash Framework Book: Missing filepath's for code changes in Chapter 7
