from langchain.prompts import load_prompt loaded_prompt = load_prompt("attack_prompt.json") loaded_prompt.format(history="", prompt="What is 1 + 1?")