langchain-learning/prompt/prompt_from_file.yaml
2026-04-12 19:48:20 +08:00

5 lines
104 B
YAML

_type: "prompt"
input_variables:
- topic
- role
template: "请以{role}的身份介绍一下{topic}"