-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathprompts.json
20 lines (20 loc) · 4.42 KB
/
prompts.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[
{
"hash": "f4df95ec69",
"text": "Given the following context: {context}\n\n----------------\nCreate a conversation between a Patient concerned about the symptoms and disorders presented above and an AI-Assistant. The conversation should abide by the following rules and instructions:\n1. The output should be in {language}.\n2. All questions and answers have to be strictly based on the context provided above.\n3. The questions should be diverse and cover different aspects of the context provided above.\n4. When generating the conversation please always use the English placeholders \"Patient\" for the Patient and \"AI-Assistant\" for the AI-Assistant, irrelevant of the language.\n5. The conversation should always be started by the Patient.\n6. The patient should start the conversation with a \"Hi,\".\n7. The AI-Assistant should be helpful, and supportive and try to not scare the patient. The answers have be to detailed and self-contained.",
"description": "This will generate a conversation between a Patient and an AI assistant in the specified languages. The only argument for this prompt is the {language} argument, if not provided it will default to English.",
"parser": "medical_conversation_parser"
},
{
"hash": "f53cf99826",
"text": "Given the following context: {context}\n\n----------------\nCreate {quantity} detailed question-answer pairs from the context above, the questions are asked by a curious user and the answers are by a helpful AI-Assistant. The question-answer pairs should abide by the following rules and instructions:\n1. The output should be in {language}.\n2. The output should be in CSV format, with the following header: ID;Question;Answer\n3. All question/answer pairs have to be strictly based on the context provided above and be self-contained and independent.\n4. The questions should be diverse and cover different aspects of the context provided above.\n5. The answers should be long, extensive, detailed, informative, helpful and self-contained.",
"description": "A general purpose prompt creating qustion answer pairs. This prompt takes two arguments {quantity} or how many q/a pairs to generate and {language}",
"parser": "csv_qa_parser"
},
{
"hash": "5755564c19",
"text": "You are asked to come up with a set of {quantity} diverse task instructions in the field of medicine and healthcare. These task instructions will be given to a Medical GPT model and we will evaluate the Medical GPT model for completing the instructions.\n\nHere are the requirements:\n1. Try not to repeat the verb for each instruction to maximize diversity.\n2. The language used for the instruction also should be diverse. For example, you should combine questions with imperative instructions.\n3. The type of instructions should be diverse. The list should include diverse kinds of tasks like step-by-step reasoning, multiple-choice-questions, open-ended generation, classification, editing, complex medical questions, simple medical questions, etc.\n4. A GPT language model should be able to complete the instruction. For example, do not ask the assistant to create any visual or audio output. For another example, do not ask the assistant to wake you up at 5pm or set a reminder because it cannot perform any action.\n5. The instructions should be in {language}.\n6. The instructions should be 1 to 4 sentences long. Either an imperative sentence or a question is permitted.\n7. You should generate an appropriate input to the instruction. The input field should contain a specific example provided for the instruction. It should involve realistic data and should not contain simple placeholders. The input should provide substantial content to make the instruction challenging but should ideally not exceed 300 words.\n8. Not all instructions require input. For example, when an instruction asks about some general information, \"What is diabetes\", it is not necessary to provide a specific context. In this case, we simply put \"<noinput>\" in the input field.\n9. The output should be an appropriate response to the instruction and the input. It should ideally not exceed 400 words.\n10. All generated output should use the metric system for measurements and UK names for medications, substances, drugs and everything else.\n\nList of {quantity} tasks (every task has the following fields: Task:, Instruction:, Input:, Output:):",
"description": "Generates high complexity various medical instruction-tasks",
"parser": null
}
]