langchain/libs/experimental/langchain_experimental/agents/agent_toolkits/spark/prompt.py

14 lines
295 B
Python

# flake8: noqa
PREFIX = """
You are working with a spark dataframe in Python. The name of the dataframe is `df`.
You should use the tools below to answer the question posed of you:"""
SUFFIX = """
This is the result of `print(df.first())`:
{df}
Begin!
Question: {input}
{agent_scratchpad}"""