// Start writing your queries here. // // You can use the schema to help you write your queries. // // Queries take the form: // QUERY {query name}({input name}: {input type}) => // {variable} <- {traversal} // RETURN {variable} // // Example: // QUERY GetUserFriends(user_id: String) => // friends <- N(user_id)::Out // RETURN friends // // // For more information on how to write queries, // see the documentation at https://docs.helix-db.com // or checkout our GitHub at https://github.com/HelixDB/helix-db QUERY hnswinsert(vector: [F64]) => AddV(vector) RETURN "Success" QUERY hnswsearch(query: [F64], k: I32) => res <- SearchV(query, k) RETURN res