webui / langchain /chains /summarize /map_reduce_prompt.py
zhangyi617's picture
Upload folder using huggingface_hub
129cd69
raw
history blame contribute delete
238 Bytes
# flake8: noqa
from langchain_core.prompts import PromptTemplate
prompt_template = """Write a concise summary of the following:
"{text}"
CONCISE SUMMARY:"""
PROMPT = PromptTemplate(template=prompt_template, input_variables=["text"])