diff --git a/app/nl_query.py b/app/nl_query.py index 75f3e81..606e381 100644 --- a/app/nl_query.py +++ b/app/nl_query.py @@ -53,7 +53,7 @@ class State(TypedDict): ] ) -GENERATE_QUERY_PROMPT = lambda input: f""" +GENERATE_QUERY_PROMPT = lambda user_input: f""" ``` SYSTEM Given an input question, create a syntactically correct SQLite3 query to run to help find the answer. Unless the user specifies in his question a specific number of examples they wish to obtain, you can return all the results that match the question. @@ -66,7 +66,7 @@ class State(TypedDict): ``` ``` USER -{input} +{user_input} ``` """ diff --git a/app/templates/base.html b/app/templates/base.html index dc7171e..bfb84ee 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -10,9 +10,9 @@