Stir the chicken stock, ketchup, soy sauce, rice vinegar and sweet chili-garlic sauce together in a small bowl.
Heat a wok over high heat until hot. Add the oil and swirl to coat the sides. Add the garlic, ginger, shallot and chili. Stir-fry until fragrant, about 20 seconds. Add the shrimp and stir-fry until they turn pink and curl slightly, 1 to 2 minutes. Pour the sauce mixture into the wok and stir-fry for 1 minute. While stirring in a circular motion, slowly pour in the beaten egg. This will create egg "flowers". Turn off the heat, scoop the contents of the wok onto a platter and serve immediately.
Yield: 4 servings as part of a multi-course meal