Skip to content
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

Observe updating Health Resources identifiers #18

Open
1 task done
philippzagar opened this issue Feb 26, 2024 · 0 comments
Open
1 task done

Observe updating Health Resources identifiers #18

philippzagar opened this issue Feb 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@philippzagar
Copy link
Member

Problem

As of now, the LLM is only able to access health data resources via function calling that are available upon initialization of the LLM, as can be seen here:

var allResourcesFunctionCallIdentifiers = Set(fhirStore.allResourcesFunctionCallIdentifier.suffix(resourceCountLimit))

The code line above results in the fact that FHIRStore updates won't propagate to the LLM function, meaning the most up-to-date health data that becomes available during the application lifecycle won't be accessible to the LLM.

Solution

An example solution would be to use the Observable conformance of FHIRStore and utilize this to get informed about updates, re-assign the parameter property wrapper with new values, and then re-register for observation changes.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@philippzagar philippzagar added the enhancement New feature or request label Feb 26, 2024
@philippzagar philippzagar self-assigned this Feb 26, 2024
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
Status: Backlog
Development

No branches or pull requests

1 participant