diff --git a/app/nl_query.py b/app/nl_query.py index 606e381..2b3b9fe 100644 --- a/app/nl_query.py +++ b/app/nl_query.py @@ -53,7 +53,8 @@ class State(TypedDict): ] ) -GENERATE_QUERY_PROMPT = lambda user_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. @@ -69,6 +70,7 @@ class State(TypedDict): {user_input} ``` """ +) llm = ChatOpenAI( model="gpt-4o", diff --git a/app/templates/show_species.html b/app/templates/show_species.html index 308a1c0..20afff7 100644 --- a/app/templates/show_species.html +++ b/app/templates/show_species.html @@ -36,21 +36,26 @@
Unable to read treefile: {{ tree_error }}
{% elif tree_content %}Source: {{ tree_path.rsplit('/', 1)[-1] }}
- - + + - {% elif tree_root %}