-
-
Notifications
You must be signed in to change notification settings - Fork 3
Feature: Text-to-Cypher via LLM + RAG over schema #35
Copy link
Copy link
Open
Labels
apiREST API or GraphQL relatedREST API or GraphQL relatedenhancementImprovement to existing functionalityImprovement to existing functionalityfeatureNew feature or functionalityNew feature or functionalityneeds-discussionRequires team discussion before implementationRequires team discussion before implementation
Description
Activity
Metadata
Metadata
Assignees
Labels
apiREST API or GraphQL relatedREST API or GraphQL relatedenhancementImprovement to existing functionalityImprovement to existing functionalityfeatureNew feature or functionalityNew feature or functionalityneeds-discussionRequires team discussion before implementationRequires team discussion before implementation
Problem Statement
Users must know Cypher to query the graph via the GraphQL/REST API. For large schemas, the full schema also can't be sent as LLM context due to context window limits.
Proposed Solution
MATCHqueries, rejectCREATE/DELETE/DETACH DELETE).Alternative Solutions
Send the LLM the entire schema without RAG selection — works only for small databases; larger ones exceed the context window and increase API costs.
Use Case
A non-technical user asks a question in natural language and gets a graph result without knowing Cypher.
Priority Level
Nice to have
Implementation Ideas
.gosec.jsonin the repo) given the risk of generating unsafe queries from untrusted input.Additional Context
Depends on: "Semantic schema search", "EmbeddingProvider port". The most complex and highest-risk item in this set — recommend tackling it last.