-
Notifications
You must be signed in to change notification settings - Fork 6
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
ET-825: Finalize Update Patient Tags AI Action #568
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
…e-patient-tags-ai-action
…e-patient-tags-ai-action
I am merging... |
PR Type
Description
Enhanced
updatePatientTags
action by replacing "prompt" with "instructions".Added an evaluation script for
getTagsFromLLM
function.Improved tag management logic and explanations in multiple files.
Introduced new test cases for tag update scenarios and fixed tag clearing logic.
Changes walkthrough 📝
6 files
Added `explanation` data point for tag updates.
Replaced `prompt` with `instructions` and updated validation schema.
Updated `explanation` description in `TagsOutputSchema`.
Replaced `prompt` with `instructions` in function parameters.
Refined system prompt with detailed instructions for tag
modifications.
Replaced
prompt
withinstructions
and addedexplanation
to output.3 files
Added evaluation script for `getTagsFromLLM` function.
Updated tests to use
instructions
and addedexplanation
validation.Added new test cases for various tag update scenarios.
1 files
Fixed tag clearing logic for empty arrays.