JamalAG commited on
Commit
1068cdc
·
1 Parent(s): 71cab9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -11,9 +11,8 @@ def generate_answer(query):
11
  )
12
 
13
  template = """Patient's Question: {query}
14
-
15
- Doctor's Answer: Let's consider your symptoms. Can you provide more details about your symptoms and how long you've been experiencing them?
16
- """
17
 
18
  prompt = PromptTemplate(template=template, input_variables=["query"])
19
  llm_chain = LLMChain(prompt=prompt, llm=llm)
 
11
  )
12
 
13
  template = """Patient's Question: {query}
14
+ Doctor's Answer: Thank you for sharing. To better understand your situation, could you please provide more details about your headaches? For example, describe the frequency, intensity, any triggers you've identified, and how you currently manage them.
15
+ """
 
16
 
17
  prompt = PromptTemplate(template=template, input_variables=["query"])
18
  llm_chain = LLMChain(prompt=prompt, llm=llm)