user_prompt_template = """You are given a few simple sentences, please combine these sentences into a single complex sentence. Please maintain the original meaning of the sentence and only output the combined sentence.
sentences:
{constraint}

combined sentence:"""

system_prompt_template = """You are a linguistics expert specializing in English literature."""

prompt_template_1= """Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
{instruction}

### Response: 
{response}"""

prompt_template_2= """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
{instruction}

### Input:
{input}

### Response:
{response}"""

forbidden_keywords_prompt = """You are provided with a list of words. For each word, output exactly one synonym that captures a similar meaning. Your response should include only the new words.

Example:

Words:
1. happy
2. fast

New Keywords:
1. joyful
2. quick

Now complete the following:

Words:
{keywords_input}

New Keywords:
1. """

title_prompt_template = "Based on the following text, write a title. Please only output the title, do not output anything else.\n\nText:{answer}\n\nTitle:"

answer_rewrite_prompt = """You are given a passage and an instruction. Your task is to revise the passage according to the instruction while preserving its original meaning. Use the example provided to match the tone, clarity, and structure. 

Important: Only output the modified passage. Do not include any comments, explanations, or formatting outside the modified passage.

Example: 
Passage: People often engage in various activities throughout the day. Some tasks require focus, while others may involve routine steps. Organizing time can help improve how smoothly things go. When decisions are needed, gathering enough information first can lead to better outcomes. Many situations benefit from a thoughtful approach. Whether working alone or with others, being aware of goals and adapting to changes can make a difference. Simple strategies, like making lists or taking short breaks, can support productivity. Over time, small adjustments often lead to noticeable improvements. Flexibility and consistency both play important roles in maintaining steady progress.

Instruction: {constraint}

Modified Passage: 
{example}

Now complete the task below:
Passage: 
{answer}

Instruction: {constraint}

Modified Passage:"""

