Skip to content

Clinical Trial Finder ability#278

Open
hassan1731996 wants to merge 2 commits into
openhome-dev:devfrom
hassan1731996:feature/clinical-trial-finder
Open

Clinical Trial Finder ability#278
hassan1731996 wants to merge 2 commits into
openhome-dev:devfrom
hassan1731996:feature/clinical-trial-finder

Conversation

@hassan1731996
Copy link
Copy Markdown
Contributor

What this adds

community/clinical-trial-finder/ — voice-first search for recruiting clinical trials via the ClinicalTrials.gov REST API v2.

Trigger phrases

  • "find clinical trials for Parkinson's"
  • "any trials near me for diabetes?"
  • "find medical studies for breast cancer in Boston"

Within a session

  • Say "2" to get details on trial Official updates from the OpenHome team #2
  • Say "requirements" for eligibility summary (LLM-distilled to 2 spoken sentences)
  • Say "contact" for coordinator name, phone, email
  • Say "save" to add to personal watchlist
  • Say "more" for next page of results

Architecture

  • main.py — 7-intent LLM router (SEARCH, DETAILS, ELIGIBILITY, CONTACT, SAVE, MORE, EXIT), wait_for_complete_transcription() on trigger, full conversational loop with in-session pagination via nextPageToken
  • background.py — daemon polling every 7 days; checks each watchlisted trial for status changes and fires a spoken alert on change; also surfaces a weekly count digest for saved conditions
  • KV storage: watchlist of saved trials + saved conditions + preferred location

Data source

…al trials

Searches ClinicalTrials.gov by condition and location, surfaces eligibility
and contact details via LLM summaries, and monitors a saved watchlist with
weekly status-change alerts via a background daemon.
@hassan1731996 hassan1731996 requested a review from a team as a code owner June 6, 2026 20:39
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2026

🔀 Branch Merge Check

PR direction: feature/clinical-trial-finderdev

Passedfeature/clinical-trial-finderdev is a valid merge direction

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2026

✅ Ability Validation Passed

📋 Validating: community/clinical-trial-finder
  ✅ All checks passed!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2026

✅ Community PR Path Check — Passed

All changed files are inside the community/ folder. Looks good!

@github-actions github-actions Bot added the community-ability Community-contributed ability label Jun 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2026

🔍 Lint Results

__init__.py — Empty as expected

Files linted: community/clinical-trial-finder/background.py community/clinical-trial-finder/main.py

✅ Flake8 — Passed

✅ All checks passed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-ability Community-contributed ability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant