Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,8 @@ def generate_answer(query):
|
|
11 |
)
|
12 |
|
13 |
template = """Patient's Question: {query}
|
14 |
-
|
15 |
-
|
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)
|