Skip to content

Integration of database "workspaces" with OpenCode session content #82

Description

@preston

The v3 release has all the architectural components in place, but the UI and server concepts of a "workspace" aren't yet tied to the AI/OpenCode runner's session contexts. The OpenCode runner for v3.0.0 does not even have the ability to connect to CQL Studio Server's PostgreSQL database.

What should probably happen is that, in the IDE, the user should be required to select or create a workspace, as managed under Team -> Workspaces, prior to starting an OpenCode session. The runner would then read all the FHIR references affiliated with the workspace and add the metadata to the opencode session. Given that this includes any number of arbitrary FHIR resources, trying to put everything in the LLM context is a bad idea. However, it would be very useful for the LLM to have some sort of metadata of the data context and relevant identifiers used throughout the workspace, especially since there is no editor UI for general FHIR resources.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    aienhancementNew feature or requestideThe CQL Integrated Development Environment

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions