langchain/libs/experimental/langchain_experimental/tabular_synthetic_data/prompts.py
Leonid Ganeline 95dc90609e
experimental[patch]: prompts import fix (#20534)
Replaced `from langchain.prompts` with `from langchain_core.prompts`
where it is appropriate.
Most of the changes go to `langchain_experimental`
Similar to #20348
2024-04-18 16:09:11 -04:00

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}:"""
)