Skip to content

Commit

Permalink
Linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethleungty committed Jul 9, 2023
1 parent 3675451 commit 37ab97e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
default='How much is the minimum guarantee payable by adidas?',
help='Enter the query to pass into the LLM')
args = parser.parse_args()

# Setup DBQA
start = timeit.default_timer()
dbqa = setup_dbqa()
Expand Down
5 changes: 3 additions & 2 deletions src/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
# as it is highly sensitive to whitespace changes. For example, it could have problems generating
# a summary from the pieces of context if the spacing is not done correctly

qa_template = """Use the following pieces of information to answer the user's question.
qa_template = """Use the following pieces of information to answer the user's question.
If you don't know the answer, just say that you don't know, don't try to make up an answer.
And remember to only return the helpful answer and nothing else.
Context: {context}
Question: {question}
Helpful relevant answer:
Helpful answer:
"""

0 comments on commit 37ab97e

Please sign in to comment.