-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Summary
When asking the Advisor about organization details (e.g., "What is the name of Org2 and Org3?"), the system cannot provide specific organization information even though Organization data exists in the database.
Current Behavior
The Advisor responds with inferred information based on email domains and identifiers rather than the actual Organization entity data:
"The specific formal names of Org2 and Org3 are not explicitly provided in the data. However, both organizations are associated with the email domain 'stateu.edu,' suggesting they are related to a state university system..."
Root Cause
- Organization data exists at the root level in MongoDB sample data (e.g.,
"Organization": [...]arrays) - The GraphQL schema root type is configured only for
Person(LIF_GRAPHQL_ROOT_TYPE_NAME: Person) - The semantic search only indexes Person entities
- Organization entities are not queryable as a separate root type
Proposed Solution
Options to consider:
- Add Organization as a queryable root type in the GraphQL schema and semantic search indexing
- Enhance Person responses to include more complete Organization reference data
- Multi-root support - Allow the system to query both Person and Organization as top-level entities
Acceptance Criteria
- Users can query Organization details through the Advisor
- Organization names, types, and other metadata are returned accurately
- Semantic search can find and return Organization entities
Related
Discovered during testing of PR #753 (PascalCase schema migration)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog