tomblomfield
Joined 15 years ago
Joined 15 years ago
Search is working fine, I just tried https://www.recipeninja.ai/search?name=lasagne
I get this search result https://www.recipeninja.ai/search?name=Anti-inflammatory
What browser are you using? Voice mode or typing?
Then you handle those function calls in your javascript.
``` if (function_name === 'search_recipes') { const searchParams = new URLSearchParams();
if (args.name) searchParams.set('name', args.name);
if (args.difficulty) searchParams.set('difficulty', formatDifficulty(args.difficulty));
if (args.min_duration) searchParams.set('minDuration', args.min_duration.toString());
if (args.max_duration) searchParams.set('maxDuration', args.max_duration.toString());
if (args.tag) searchParams.set('tag', args.tag);
// Handle ingredients array correctly - the search page expects ingredients[]
if (args.ingredients && args.ingredients.length > 0) {
// Clear any existing ingredients
searchParams.delete('ingredients[]');
// Add each ingredient individually with the correct array notation
args.ingredients.forEach((ingredient: string) => {
searchParams.append('ingredients[]', ingredient);
});
}
const queryString = searchParams.toString();
const url = queryString ? `/search?${queryString}` : '/search';
navigate(url);
return;
}
// start_cooking function
if (function_name === 'start_cooking') {
// First check if we have an onStartCooking callback registered
if (callbacksRef.current.onStartCooking) {
callbacksRef.current.onStartCooking();
return;
}
}
```AFAIK, they strictly follow the speed limit, which feels too slow when everyone else is speeding.
The driver is often on a call for the entire journey, which is annoying.
It’s often much colder or warmer than I’d ideally like.
An extreme case, but I once had a driver stop a ride, jump out of the car and pull the driver out of the car in front. They proceeded to have a fist fight. The other guy had honked at him for blocking the road or something.
I’d much prefer a computer to drive me around.
Waymos are one of the first things that my visitors to SF want to try. It feels like living in a science-fiction future.
The ride and navigation feels very smooth - after the novelty of having no driver in the front seat wears off, you become accustomed to the experience surprisingly quickly. In comparison, I found the Cruise driving experience pretty uncomfortable and stress-inducing.
The app and software inside the vehicle is really well-designed. Which is unusual for a google consumer product!
And my female friends, in particular, far prefer Waymo to Uber or Lyft because they don’t have to engage with a creepy driver trying to hit on them.
I, for one, welcome our new self-driving overlords.
https://en.wikipedia.org/wiki/Traitorous_eight
https://www.amazon.co.uk/Power-Law-Venture-Capital-Disruptio...
Previously cofounder of Monzo & GoCardless.