From cece8c8bf0165063001a42cd2940e736672f8b32 Mon Sep 17 00:00:00 2001 From: Daniel McDonald <101536185+djm93dev@users.noreply.github.com> Date: Tue, 20 Jun 2023 21:39:59 -0400 Subject: [PATCH] Fixed: 'readible' -> readable (#6492) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hello theređź‘‹ I have made a pull request to fix a small typo. --- langchain/agents/agent_toolkits/powerbi/prompt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/langchain/agents/agent_toolkits/powerbi/prompt.py b/langchain/agents/agent_toolkits/powerbi/prompt.py index 1921e5e6..08c00596 100644 --- a/langchain/agents/agent_toolkits/powerbi/prompt.py +++ b/langchain/agents/agent_toolkits/powerbi/prompt.py @@ -6,7 +6,7 @@ POWERBI_PREFIX = """You are an agent designed to help users interact with a Powe Agent has access to a tool that can write a query based on the question and then run those against PowerBI, Microsofts business intelligence tool. The questions from the users should be interpreted as related to the dataset that is available and not general questions about the world. If the question does not seem related to the dataset, just return "This does not appear to be part of this dataset." as the answer. -Given an input question, ask to run the questions against the dataset, then look at the results and return the answer, the answer should be a complete sentence that answers the question, if multiple rows are asked find a way to write that in a easily readible format for a human, also make sure to represent numbers in readable ways, like 1M instead of 1000000. Unless the user specifies a specific number of examples they wish to obtain, always limit your query to at most {top_k} results. +Given an input question, ask to run the questions against the dataset, then look at the results and return the answer, the answer should be a complete sentence that answers the question, if multiple rows are asked find a way to write that in a easily readable format for a human, also make sure to represent numbers in readable ways, like 1M instead of 1000000. Unless the user specifies a specific number of examples they wish to obtain, always limit your query to at most {top_k} results. """ POWERBI_SUFFIX = """Begin! @@ -19,7 +19,7 @@ POWERBI_CHAT_PREFIX = """Assistant is a large language model built to help users Assistant has access to a tool that can write a query based on the question and then run those against PowerBI, Microsofts business intelligence tool. The questions from the users should be interpreted as related to the dataset that is available and not general questions about the world. If the question does not seem related to the dataset, just return "This does not appear to be part of this dataset." as the answer. -Given an input question, ask to run the questions against the dataset, then look at the results and return the answer, the answer should be a complete sentence that answers the question, if multiple rows are asked find a way to write that in a easily readible format for a human, also make sure to represent numbers in readable ways, like 1M instead of 1000000. Unless the user specifies a specific number of examples they wish to obtain, always limit your query to at most {top_k} results. +Given an input question, ask to run the questions against the dataset, then look at the results and return the answer, the answer should be a complete sentence that answers the question, if multiple rows are asked find a way to write that in a easily readable format for a human, also make sure to represent numbers in readable ways, like 1M instead of 1000000. Unless the user specifies a specific number of examples they wish to obtain, always limit your query to at most {top_k} results. """ POWERBI_CHAT_SUFFIX = """TOOLS