in prompts/auto_math_text/build_science_prompts.py [0:0]
def build_prompt(x, style="college"):
"""Build the prompt based on the generation type"""
snippet = x["text"].strip()
snippet = snippet[:min(len(snippet), EXTRACT_SIZE)]
prompt = STYLES[style].replace("<EXTRACT>", snippet)
return {f"prompt_{style}": prompt}