We got the current early development version of Study Agent dockerized now. Please check out the main branch GitHub - OHDSI/StudyAgent · GitHub and see the “Docker quickstart” section of the README.
Something some might find immediately useful - the phenotype_validation_review flow does the keeper review work and there is an example curl call you can test:
curl -s -X POST http://127.0.0.1:8765/flows/phenotype_validation_review \
-H 'Content-Type: application/json' \
-d '{
"disease_name": "Gastrointestinal bleeding",
"keeper_row": {
"age": 44,
"gender": "Male",
"visitContext": "Inpatient Visit",
"presentation": "Gastrointestinal hemorrhage",
"priorDisease": "Peptic ulcer",
"symptoms": "",
"comorbidities": "",
"priorDrugs": "celecoxib",
"priorTreatmentProcedures": "",
"diagnosticProcedures": "",
"measurements": "",
"alternativeDiagnosis": "",
"afterDisease": "",
"afterDrugs": "Naproxen",
"afterTreatmentProcedures": ""
}
}'
Expected results - something like:
{"status": "ok", "tool": "keeper_parse_response", "warnings": [], "safe_summary": {"plan": null}, "full_result": {"label": "yes", "rationale": "The patient's diagnosis recorded on the day of the visit is 'Gastrointestinal hemorrhage', which directly indicates the presence of GI bleeding. This is sufficient evidence to confirm the presence of the phenotype.", "_meta": {"tool": "keeper_parse_response"}}, "llm_used": true}