ยฉ 2026 Hedgehog Software, LLC
read :my_action do argument :embedding, :vector, allow_nil?: false prepare fn query, _ -> Ash.Query.sort(query, Ash.Sort.expr_sort(fragment("1 - (embedding <=> ?)", arg(:embedding)))) end end
error: undefined function fragment/2 (expected MyModule to define such a function or for it to be imported, but none are available)
fragment