Enabling the Patient to Add to their Data via the LLM Assistant #58
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enabling the Patient to Add to their Data via the LLM Assistant
♻️ Current situation & Problem
Currently, the patient is only able to ask about what their current data is and ask questions about it. They are unable to update their data using the LLM Assistant.
⚙️ Release Notes
-This update allows for the patient to add to their list for surgery, allergies and medical history. Currently these LLM Assistants are being kept separate to ensure all functionality works and because medications does not allow for a live update.
-It does this by using an LLM function call to collect variables dependent on the view (so for allergies it collects allergy name and reaction type), and then adding this data to the global data variable. The changes persist so that the user can then see their updated data when they go back to their view page.
📚 Documentation
Please ensure that you properly document any additions in conformance to Spezi Documentation Guide.
You can use this section to describe your solution, but we encourage contributors to document your reasoning and changes using in-line documentation.
✅ Testing
Please ensure that the PR meets the testing requirements set by CodeCov and that new functionality is appropriately tested.
This section describes important information about the tests and why some elements might not be testable.
📝 Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: