Introduction to Prompt Templates in LangChain
Heartbeat
NOVEMBER 1, 2023
AI: The capital of {place} is {capital} """) prompt = prompt_template.format(place="California", capital="Sacramento") print(prompt) This will show the prompt as: Human: What is the capital of California?
Let's personalize your content