Skip to content

Chainlit Frontend Bypasses Functional #10

Description

@HESleagacy

The FastAPI backend exposes two distinct routes for GraphQL query generation:

  • /flat_graphql

    • Intended for simple, single-level queries
    • Example: "Query all male patients"
  • /nested_graphql

    • Intended for complex, multi-level relationship queries involving nested PCDC GitOps nodes
    • Example: "Patients with metastatic tumors located in the skin"

However, the current Chainlit frontend implementation routes all user messages exclusively through /nested_graphql, beginning at Line 89.

This makes the /flat_graphql endpoint completely inaccessible from the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions