Files
langchain/docs/docs/concepts
prem-sagar123 5a50802c9a docs: update prompt_templates.mdx (#32405)
```messages_to_pass = [
    HumanMessage(content="What's the capital of France?"),
    AIMessage(content="The capital of France is Paris."),
    HumanMessage(content="And what about Germany?")
]
formatted_prompt = prompt_template.invoke({"msgs": messages_to_pass})
print(formatted_prompt)```

---------

Co-authored-by: Mason Daugherty <mason@langchain.dev>
Co-authored-by: Mason Daugherty <github@mdrxy.com>
2025-08-11 20:16:30 +00:00
..
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00
2025-07-28 12:56:22 -04:00