mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
95dc90609e
Replaced `from langchain.prompts` with `from langchain_core.prompts` where it is appropriate. Most of the changes go to `langchain_experimental` Similar to #20348
14 lines
417 B
Python
14 lines
417 B
Python
from langchain_core.prompts.prompt import PromptTemplate
|
|
|
|
DEFAULT_INPUT_KEY = "example"
|
|
DEFAULT_PROMPT = PromptTemplate(
|
|
input_variables=[DEFAULT_INPUT_KEY], template="{example}"
|
|
)
|
|
|
|
SYNTHETIC_FEW_SHOT_PREFIX = (
|
|
"This is a test about generating synthetic data about {subject}. Examples below:"
|
|
)
|
|
SYNTHETIC_FEW_SHOT_SUFFIX = (
|
|
"""Now you generate synthetic data about {subject}. Make sure to {extra}:"""
|
|
)
|