Ash FrameworkAF
Ash Frameworkβ€’6mo agoβ€’
74 replies
Abu kumathra

Following the guide in AshAi

I get this error when I am trying to use the cosine distance between the vector and the embedded question, I have the same code as the guide

function: :vector_cosine_distance, arity: nil, resource: Taleed.Poetry.Verse, could_be_calculation?: false, splode: Ash.Error, bread_crumbs: [\"Error returned from: Taleed.Poetry.Verse.vector_search\"], vars: [], path: [:filter], stacktrace: #Splode.Stacktrace<>, class: :invalid}" while retrieving Exception.message/1 for %Ash.Error.Query.NoSuchFunction{function: :vector_cosine_distance, arity: nil, resource: Taleed.Poetry.Verse, could_be_calculation?: false, splode: Ash.Error
Was this page helpful?