Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/nl_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -66,7 +66,7 @@ class State(TypedDict):
```

``` USER
{input}
{user_input}
```
"""

Expand Down
4 changes: 2 additions & 2 deletions app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<link
rel="preload"
as="font"
href="https://www.research.chop.edu/themes/custom/chopresearch/fonts/rubrik-regular-webfont.woff2"
href="{{ url_for('static', filename='fonts/rubrik/TPRubrik-Regular.woff2') }}"
type="font/woff2"
crossorigin
crossorigin="anonymous"
>
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
Expand Down