Skip to content

feat: Implement Assistant Doctor tool #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rkarahan80
Copy link

This commit introduces the AssistantDoctorTool, a new feature aimed at helping medical professionals with diagnosis, examination planning, and medication suggestions.

The tool integrates into the existing MedRAX agent framework. It works by constructing detailed prompts for the underlying LLM based on user inputs such as symptoms, medical history, imaging data references, and the specific type of assistance requested.

Key changes:

  • Added medrax/tools/assistant_doctor.py with the AssistantDoctorTool implementation.
  • Updated medrax/tools/__init__.py to include the new tool.
  • Modified main.py to make the tool available for initialization.
  • Updated README.md with documentation for the new feature, including usage instructions and examples.
  • Added test_assistant_doctor.py for verifying the tool's prompt generation (execution skipped due to environment constraints).

This commit introduces the AssistantDoctorTool, a new feature aimed at helping medical professionals with diagnosis, examination planning, and medication suggestions.

The tool integrates into the existing MedRAX agent framework. It works by constructing detailed prompts for the underlying LLM based on user inputs such as symptoms, medical history, imaging data references, and the specific type of assistance requested.

Key changes:
- Added `medrax/tools/assistant_doctor.py` with the `AssistantDoctorTool` implementation.
- Updated `medrax/tools/__init__.py` to include the new tool.
- Modified `main.py` to make the tool available for initialization.
- Updated `README.md` with documentation for the new feature, including usage instructions and examples.
- Added `test_assistant_doctor.py` for verifying the tool's prompt generation (execution skipped due to environment constraints).
@Adibvafa
Copy link
Collaborator

Thank you for this PR, will review this Saturday!

@Adibvafa Adibvafa self-requested a review July 11, 2025 00:22
@Adibvafa Adibvafa added the enhancement New feature or request label Jul 11, 2025
@asomers
Copy link

asomers commented Jul 15, 2025

@Adibvafa this account is a bot. It submits dozens of garbage PRs to different repositories every month. Don't take my word for it; just look at its history. I recommend you block and report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants