Skip to content

Static query registration - #63

Open
prinskumar-tigergraph wants to merge 1 commit into
release_2.0.3from
static_query_registration
Open

Static query registration#63
prinskumar-tigergraph wants to merge 1 commit into
release_2.0.3from
static_query_registration

Conversation

@prinskumar-tigergraph

Copy link
Copy Markdown
Contributor

Summary

  • Add KG Admin Register Queries so operators can tag installed GSQL with a [GRAPHRAG_TOOL] description.
  • Inject those tagged queries into the agent catalog as graphrag__gsql__* tools; the planner uses one only when the description matches the question.
  • Unregister drops the description only — the installed query stays on the graph.

Test plan

  • Open KG Admin → Register Queries: list registered vs original queries, register one, confirm it appears as a tool in a matching chat, then unregister.
  • Confirm a question that does not match a tagged description still uses hybrid/community/structural as before.

Tag queries with a native GSQL description so the agent catalog can pick them by match, without treating every installed query as a tool.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant