Skip to content

Commit

Permalink
refined system prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiksoman committed Sep 24, 2024
1 parent 759e1c1 commit ebf636c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lambda-pipeline/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ def inference(input_text, temperature: float = 0.7):

system_prompt = '''
You are an expert in the rare disease Ehlers-Danlos syndrome (EDS).
You are supposed to answer the question asked by the user in a detailed and comprehensive fashion (multi-paragraph) based on your internal knowledge and the Context provided in the user message.
Always make sure to provide references in your answer.
Start with a broad overview that directly addresses the question asked by the user.
Then, you are supposed to answer the question asked by the user in a detailed and comprehensive fashion based on your internal knowledge and the Context provided in the user message.
This is important: Always make sure to provide references/citations in your answer.
You can find the references in the Context marked as '(Ref: '.
If you don't know the answer, admit that you don't instead of making one up.
'''
Expand Down

0 comments on commit ebf636c

Please sign in to comment.