def create_prompts()

in generation/base_prompts.py [0:0]


def create_prompts(text):
    prompts = []
    for prompt in PROMPTS:
        system_content = BASE_PROMPT.format(
            role_description=prompt["role_description"],
            examples=prompt["examples"]
        )
        prompts.append([
            {"role": "system", "content": system_content},
            {"role": "user", "content": BASE_USER_CONTENT.format(text=text)}
        ])
    return prompts