last type templates_diagnose xx
Browse files- chains/diagnoser_chain.py +1 -1
- test exercises.txt +15 -0
chains/diagnoser_chain.py
CHANGED
|
@@ -9,7 +9,7 @@ from config.exercise_standardizer import standardize_exercise
|
|
| 9 |
class DiagnoserChain(BaseModel):
|
| 10 |
template_standardize: ChatPromptTemplate
|
| 11 |
llm_standardize: Any # Fixed LLM for step 1
|
| 12 |
-
|
| 13 |
llm_diagnose: Any # User-selectable LLM for step 2
|
| 14 |
|
| 15 |
async def run(self, user_query: str, exercise_format: str) -> str:
|
|
|
|
| 9 |
class DiagnoserChain(BaseModel):
|
| 10 |
template_standardize: ChatPromptTemplate
|
| 11 |
llm_standardize: Any # Fixed LLM for step 1
|
| 12 |
+
templates_diagnose: ChatPromptTemplate
|
| 13 |
llm_diagnose: Any # User-selectable LLM for step 2
|
| 14 |
|
| 15 |
async def run(self, user_query: str, exercise_format: str) -> str:
|
test exercises.txt
CHANGED
|
@@ -13,6 +13,8 @@ Wat is de hoofdtaak van maatschappelijk werkers?
|
|
| 13 |
|
| 14 |
Correct antwoord:
|
| 15 |
3. De levenskwaliteit van mensen verbeteren.
|
|
|
|
|
|
|
| 16 |
### 2
|
| 17 |
### 3
|
| 18 |
|
|
@@ -28,7 +30,20 @@ Voor een volledig overzicht van organisaties die ondersteuning bieden bij eenzaa
|
|
| 28 |
Correct antwoord:
|
| 29 |
2. Deze stelling is niet correct.
|
| 30 |
|
|
|
|
|
|
|
| 31 |
### 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
### 3
|
| 33 |
|
| 34 |
---
|
|
|
|
| 13 |
|
| 14 |
Correct antwoord:
|
| 15 |
3. De levenskwaliteit van mensen verbeteren.
|
| 16 |
+
|
| 17 |
+
|
| 18 |
### 2
|
| 19 |
### 3
|
| 20 |
|
|
|
|
| 30 |
Correct antwoord:
|
| 31 |
2. Deze stelling is niet correct.
|
| 32 |
|
| 33 |
+
|
| 34 |
+
|
| 35 |
### 2
|
| 36 |
+
Stelling:
|
| 37 |
+
De bovenste holle ader (*Vena Cava Superior*) komt niet uit in de rechterboezem.
|
| 38 |
+
|
| 39 |
+
1. Deze stelling is correct
|
| 40 |
+
2. Deze stelling is niet correct
|
| 41 |
+
|
| 42 |
+
Correct antwoord:
|
| 43 |
+
2. Deze stelling is niet correct.
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
### 3
|
| 48 |
|
| 49 |
---
|