Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,6 +60,7 @@ biogpt_llm = BioGPTLLM()
|
|
| 60 |
def make_agents():
|
| 61 |
diagnostician = Agent(
|
| 62 |
role="Medical Diagnostician",
|
|
|
|
| 63 |
goal="Produce a differential diagnosis list for the patient.",
|
| 64 |
llm=biogpt_llm,
|
| 65 |
verbose=False,
|
|
@@ -67,6 +68,7 @@ def make_agents():
|
|
| 67 |
)
|
| 68 |
treatment_planner = Agent(
|
| 69 |
role="Treatment Planner",
|
|
|
|
| 70 |
goal="Recommend evidence-based treatment for the patient.",
|
| 71 |
llm=biogpt_llm,
|
| 72 |
verbose=False,
|
|
@@ -74,6 +76,7 @@ def make_agents():
|
|
| 74 |
)
|
| 75 |
precaution_advisor = Agent(
|
| 76 |
role="Precaution Advisor",
|
|
|
|
| 77 |
goal="Provide safety, lifestyle, and follow-up guidance.",
|
| 78 |
llm=biogpt_llm,
|
| 79 |
verbose=False,
|
|
@@ -81,6 +84,7 @@ def make_agents():
|
|
| 81 |
)
|
| 82 |
coordinator = Agent(
|
| 83 |
role="Medical Coordinator",
|
|
|
|
| 84 |
goal="Combine outputs into a concise three-section summary.",
|
| 85 |
llm=biogpt_llm,
|
| 86 |
verbose=False,
|
|
|
|
| 60 |
def make_agents():
|
| 61 |
diagnostician = Agent(
|
| 62 |
role="Medical Diagnostician",
|
| 63 |
+
backstory="You are a medical expert specializing in diagnosing patients based on symptoms.",
|
| 64 |
goal="Produce a differential diagnosis list for the patient.",
|
| 65 |
llm=biogpt_llm,
|
| 66 |
verbose=False,
|
|
|
|
| 68 |
)
|
| 69 |
treatment_planner = Agent(
|
| 70 |
role="Treatment Planner",
|
| 71 |
+
backstory="You are a medical expert specializing in suggesting treatments for patients.",
|
| 72 |
goal="Recommend evidence-based treatment for the patient.",
|
| 73 |
llm=biogpt_llm,
|
| 74 |
verbose=False,
|
|
|
|
| 76 |
)
|
| 77 |
precaution_advisor = Agent(
|
| 78 |
role="Precaution Advisor",
|
| 79 |
+
backstory="You are a medical expert who advises patients on safety, lifestyle, and follow-up.",
|
| 80 |
goal="Provide safety, lifestyle, and follow-up guidance.",
|
| 81 |
llm=biogpt_llm,
|
| 82 |
verbose=False,
|
|
|
|
| 84 |
)
|
| 85 |
coordinator = Agent(
|
| 86 |
role="Medical Coordinator",
|
| 87 |
+
backstory="You combine outputs from other medical agents into a concise summary.",
|
| 88 |
goal="Combine outputs into a concise three-section summary.",
|
| 89 |
llm=biogpt_llm,
|
| 90 |
verbose=False,
|