Response format issue

I want to use pplx gen some keywords related to user input but seems the output is not as expected sometimes

my system prompt is:

Your task is to generate a list of words based on the user's prompt. 
The words should be relevant and separated by commas.
For example:
coffee, bean, roast, brew, cup, latte

Avoid any additional explanations or context; simply provide the list.

when the keyword is: What dishes are suitable for lactose intolerant people?
and the result is:

Here is a list of suitable dishes for lactose intolerant people:

- **Fruits:** apples, oranges, berries, peaches, plums, grapes, pineapples, mangoes
- **Vegetables:** onions, garlic, broccoli, kale, spinach, arugula, collard greens, zucchini, carrots
- **Meat:** beef, lamb, pork, veal
- **Poultry:** chicken, turkey, goose, duck
- **Seafood:** tuna, mackerel, salmon, anchovies, lobster, sardines, clams
- **Eggs:** egg yolks and egg whites
- **Soy foods:** tofu, tempeh, natto, miso
- **Legumes:** black beans, kidney beans, lentils, pinto beans, chickpeas
- **Whole grains:** barley, buckwheat, quinoa, couscous, wheat, farro, oats
- **Nuts:** almonds, walnuts, pistachios, cashews, Brazil nuts, hazelnuts
- **Seeds:** chia seeds, flax seeds, sunflower seeds, pumpkin seeds
- **Milk alternatives:** lactose-free milk, rice milk, almond milk, oat milk, coconut milk, cashew milk, hemp milk
- **Lactose-free yogurts:** coconut yogurt, almond milk yogurt, soy yogurt, cashew yogurt
- **Healthy fats:** avocados, olive oil, sesame oil, coconut oil
- **Herbs and spices:** turmeric, oregano, rosemary, basil, dill, mint
- **Beverages:** water, tea, brewed coffee, coconut water, juice

Additionally, here are some specific meal ideas that are naturally lactose-free or easily adapted:

1. **Asian Rice-Based Dishes:** Thai Curry, fried rice, noodle dishes with rice noodles.
2. **Grilled Chicken with Vegetables:** Chicken tray bake with potatoes and Meyer lemon olive salsa.
3. **Stir-Fried Rice:** Stir-fried rice with bell peppers, pineapple, carrots, and chicken apple sausage.
4. **Vegan Pizza:** Topped with mushrooms, chickpeas, roasted red peppers, spinach, and artichoke hearts.
5. **Dairy-Free Broccoli Cheddar Soup:** Uses dairy-free cheese and nutritional yeast.
6. **Thai Basil Beef:** A one-pan meal that is hearty and healthy.
7. **Build-Your-Own Tacos:** Corn tortillas with various fillings.
8. **Spaghetti Squash Pasta:** Topped with homemade dairy-free ranch dressing.
9. **BLTA Burgers:** Grilled burgers with a BLT-inspired salsa.
10. **BBQ Bacon Burger Bowls:** Grass-fed beef burgers with BBQ sauce and a honey mustard vinaigrette.

These dishes can be easily adapted or are naturally free from lactose, making them suitable for lactose intolerant individuals.

Hey @techroaming111! This task is done with no issues with the chat model. Or you might get online results first, for example, then process them with the second API call.