Skip to content

[FEATURE] Ability to execute arbitrary Cypher queriesΒ #1432

@tomasonjo

Description

@tomasonjo

What is the use case?

Your incremental processing flows have a lot of potential. For example, one cool flow would be to implement MS GraphRAG with it. https://github.com/microsoft/graphrag.

However for downstream steps like entity summarization, I need to be able to execute a cypher query that fetches all nodes that have been just updated to do some summarization which is hard.

Describe the solution you'd like

Instead of spinning up a separate driver for the retrieval, it would be cool to expose such a method for running arbitrary queries directly in cocoindex.

Additional context

One would have to be careful what to run through abstractions and what directly through cypher queries, but it empowers the user a lot


❀️ Contributors, please refer to πŸ“™Contributing Guide.
Unless the PR can be sent immediately (e.g. just a few lines of code), we recommend you to leave a comment on the issue like I'm working on it or Can I work on this issue? to avoid duplicating work. Our Discord server is always open and friendly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions