This folder contains examples usage for the different features
supported by the neo4j-graphrag
package:
- Build Knowledge Graph from PDF or text
- Retrieve information from the graph
- Question Answering (Q&A)
Each of these steps have many customization options which are listed in the last section of this file.
- End to end PDF to graph simple pipeline
- End to end text to graph simple pipeline
- Build KG pipeline from config file
- Build KG pipeline with PDF URL
- Retriever from an embedding vector
- Retriever from a text
- Graph-based retrieval with VectorCypherRetriever
- Hybrid retriever
- Hybrid Cypher retriever
- Text2Cypher retriever
- Control result format for VectorRetriever
- Control result format for VectorCypherRetriever
- Use pre-filters
- Text2Cypher: use a custom prompt
- End to end example with explicit components and text input
- End to end example with explicit components and PDF input
- Process multiple documents
- Export lexical graph creation into another pipeline
- Build pipeline from config file
- Add event listener to get notification about Pipeline progress
- Use component context to send notifications about Component progress
- Loaders:
- Text Splitter:
- Chunk embedder
- Schema Builder:
- Entity Relation Extractor:
- Knowledge Graph Writer:
- Entity Resolver:
- Custom component