@ -3,6 +3,11 @@ from langchain.prompts.base import CommaSeparatedListOutputParser
fromlangchain.prompts.promptimportPromptTemplate
_DEFAULT_TEMPLATE="""Given an input question, first create a syntactically correct {dialect} query to run, then look at the results of the query and return the answer. Unless the user specifies in his question a specific number of examples he wishes to obtain, always limit your query to at most {top_k} results using the LIMIT clause. You can order the results by a relevant column to return the most interesting examples in the database.