Skip to content

Property graph index in-memory #13939

Closed Answered by dosubot bot
anirbanbasu asked this question in Q&A
Jun 5, 2024 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Yes, there is an equivalent in-memory graph_store for the property graph index that you can use instead of Neo4j. The SimplePropertyGraphStore class in the LlamaIndex framework implements a simple in-memory labelled property graph store.

Here is the relevant code snippet:

class SimplePropertyGraphStore(PropertyGraphStore):
    """Simple Labelled Property Graph Store.

    This class implements a simple in-memory labelled property graph store.

    Args:
        graph (Optional[LabelledPropertyGraph]): Labelled property graph to initialize the store.
    """

    supports_structured_queries: bool = False
    supports_vector_queries: bool = False

    def __init__(
        self,
        graph

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@anirbanbasu
Comment options

@dosubot
Comment options

Answer selected by anirbanbasu
@anirbanbasu
Comment options

Comment options

You must be logged in to vote
2 replies
@anirbanbasu
Comment options

@dosubot
Comment options

Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant