I will describe some criteria, and you will generate a response to a prompt that follows…
- User
I will describe some criteria, and you will generate a response to a prompt that follows each of the criteria.
High Quality: Responds to the prompt with factual accuracy, completes the task (if any) with perfect accuracy, includes context, references, or examples where possible.
Low Quality: Responds to the prompt with ambiguous answers, fails to complete the task, but gets close, and does not include context, references, or examples, even when possible or appropriate.
Now, complete theh prompt for both labels:
Prompt: "Write a recipe for a good chicken noodle soup"
- Assistant
High Quality:
Chicken Noodle Soup Recipe
Ingredients:
- 2 tablespoons olive oil
- 1 cup chopped onions
- 1/2 cup chopped celery
- 1/2 cup chopped carrots
- 2 cloves garlic, minced
- 8 cups chicken broth (preferably low-sodium)
- 2 boneless, skinless chicken breasts or thighs
- 2 bay leaves
- 1 teaspoon dried thyme (or fresh, finely chopped)
- 1 teaspoon dried rosemary (or fresh, finely chopped)
- 2 cups egg noodles
- User
I will describe some criteria, and you will generate a response to a prompt that follows each of the criteria. This time, please put each answer in a json format, with an instruction field for the prompt, and a field "high_quality_response" and "low_quality_response" for the responses, make sure they only take up a single value/field.
High Quality: Responds to the prompt with factual accuracy, completes the task (if any) with perfect accuracy, includes context, references, or examples where possible.
Low Quality: Responds to the prompt with ambiguous answers, fails to complete the task, but gets close, and does not include context, references, or examples, even when possible or appropriate.
Now, complete theh prompt for both labels:
Prompt: "How do I open a json file with python"
- Assistantjson
{ "instruction": "How do I open a json file with python", "high_quality_response": "To open a JSON file with Python, you'll typically use the built-in 'json' module. Here's an example of how you can do it:\n\n```python\nimport json\n\nwith open('filename.json', 'r') as file:\n data = json.load(file)\nprint(data)\n```\nThis code opens the 'filename.json' file for reading and loads its contents into the 'data' variable. You can then work with 'data' as a normal Python dictionary or list, depending on the JSON structure.", "low_quality_response": "To open a JSON file in Python, use the json library and use 'open' function. Just read the file and then use the json function to read it." }