Skip to content

Commit 33317c9

Browse files
committed
fixed URL endings to /
1 parent 1bc9bc3 commit 33317c9

16 files changed

+27
-28
lines changed

src/content/docs/reference/graphrag/basic-retriever.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ tags: ["Basic"]
1414

1515
## Required Graph Shape
1616

17-
[Lexical Graph](/reference/knowledge-graph/lexical-graph)
18-
1917
![](../../../../assets/images/knowledge-graph-lexical-graph.svg)
18+
[Lexical Graph](/reference/knowledge-graph/lexical-graph/)
2019

2120
## Context
2221

src/content/docs/reference/graphrag/cypher-templates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags: ["Intermediate"]
77
## Required Graph Shape
88

99
![Domain Graph](../../../../assets/images/domain-graph.svg)
10-
[Domain Graph](/reference/knowledge-graph/domain-graph)
10+
[Domain Graph](/reference/knowledge-graph/domain-graph/)
1111

1212
## Context
1313

src/content/docs/reference/graphrag/dynamic-cypher-generation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags: ["Intermediate"]
77
## Required Graph Shape
88

99
![Domain Graph](../../../../assets/images/domain-graph.svg)
10-
[Domain Graph](/reference/knowledge-graph/domain-graph)
10+
[Domain Graph](/reference/knowledge-graph/domain-graph/)
1111

1212
## Context
1313

@@ -33,7 +33,7 @@ Multiple templates can also be used in a chain or loop, which then leads to an a
3333

3434
## Usage
3535

36-
This pattern is an evolution of [Cypher Templates](/reference/graphrag/cypher-templates).
36+
This pattern is an evolution of [Cypher Templates](/reference/graphrag/cypher-templates/).
3737
It is much more flexible allowing for more diverse user questions to be answered.
3838
Still, the range of questions is limited by the provided snippets.
3939

src/content/docs/reference/graphrag/global-community-summary-retriever.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags: ["Advanced"]
1313
## Required Graph Shape
1414

1515
![](../../../../assets/images/knowledge-graph-lexical-graph-extracted-entities-community-summaries.svg)
16-
[Lexical Graph with Extracted Entities and Community Summaries](/reference/knowledge-graph/lexical-graph-extracted-entities-community-summaries)
16+
[Lexical Graph with Extracted Entities and Community Summaries](/reference/knowledge-graph/lexical-graph-extracted-entities-community-summaries/)
1717

1818
## Context
1919

@@ -51,7 +51,7 @@ RETURN c.full_content AS output
5151

5252
There are several variations in which you could use the Lexical Graph with extracted entities, communities, and community summaries:
5353

54-
* A [Local Retriever](/reference/graphrag/local-retriever) could start by executing a vector search on the entity embeddings and traversing to related entities, chunks, or communities (e.g., see Integrating Microsoft GraphRAG into Neo4j).
54+
* A [Local Retriever](/reference/graphrag/local-retriever/) could start by executing a vector search on the entity embeddings and traversing to related entities, chunks, or communities (e.g., see Integrating Microsoft GraphRAG into Neo4j).
5555

5656
* Depending on the question, we could also execute a vector similarity search on embeddings of the Community Summaries first to identify which subgraph is relevant for the question, then traverse from the communities to its entities and chunks to retrieve additional information.
5757

src/content/docs/reference/graphrag/graph-enhanced-vector-search.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tags: ["Advanced"]
1212
## Required Graph Shape
1313

1414
![](../../../../assets/images/knowledge-graph-lexical-graph-extracted-entities.svg)
15-
[Lexical Graph with Extracted Entities](/reference/knowledge-graph/lexical-graph-extracted-entities)
15+
[Lexical Graph with Extracted Entities](/reference/knowledge-graph/lexical-graph-extracted-entities/)
1616

1717
## Context
1818

@@ -29,7 +29,7 @@ A traversal starting at the found chunks is executed to retrieve more context.
2929

3030
## Usage
3131

32-
This pattern is useful for retrieving more enriched context than the results of executing only a vector search as in e.g. [Basic Retrievers](/reference/graphrag/basic-retriever) or [Parent-Child Retrievers](/reference/graphrag/parent-child-retriever).
32+
This pattern is useful for retrieving more enriched context than the results of executing only a vector search as in e.g. [Basic Retrievers](/reference/graphrag/basic-retriever/) or [Parent-Child Retrievers](/reference/graphrag/parent-child-retriever/).
3333
The additional traversal retrieves the interaction of entities within the provided data which reveals much richer information than the retrieval of specific text chunks.
3434
Naturally, the preprocessing for this GraphRAG pattern is effort.
3535
Furthermore, the amount of context that is returned by the Graph Traversal can be much larger context which the LLM needs be able to process.
@@ -69,4 +69,4 @@ There are some variations of this retriever:
6969

7070
## Example Implementations
7171

72-
- [Neo4j's Knowledge Graph Builder](https://github.com/neo4j-labs/llm-graph-builder)
72+
- [Neo4j's Knowledge Graph Builder](https://github.com/neo4j-labs/llm-graph-builder/)

src/content/docs/reference/graphrag/hypothetical-question-retriever.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ tags: ["Basic"]
66

77
## Required Graph Shape
88

9-
[Lexical Graph with Hypothetical Questions](/reference/knowledge-graph/lexical-graph-hypothetical-questions)
109
![Lexical Graph with Hypothetical Questions](../../../../assets/images/knowledge-graph-lexical-graph-hypothetical-questions.svg)
10+
[Lexical Graph with Hypothetical Questions](/reference/knowledge-graph/lexical-graph-hypothetical-questions/)
1111

1212
## Context
1313

@@ -21,7 +21,7 @@ A vector similarity search is executed on the previously generated questions. `k
2121

2222
## Usage
2323

24-
This pattern can yield better results in the vector similarity search than a question-to-chunk similarity search as used in e.g. [Basic Retrievers](/reference/graphrag/basic-retriever) or [Parent-Child Retrievers](/reference/graphrag/parent-child-retriever).
24+
This pattern can yield better results in the vector similarity search than a question-to-chunk similarity search as used in e.g. [Basic Retrievers](/reference/graphrag/basic-retriever/) or [Parent-Child Retrievers](/reference/graphrag/parent-child-retriever/).
2525
However, it also requires more pre-processing effort and cost in LLM calls for the question generation.
2626

2727
## Required pre-processing

src/content/docs/reference/graphrag/parent-child-retriever.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: ["Basic"]
1111
## Required Graph Shape
1212

1313
![Parent-Child Lexical Graph](../../../../assets/images/knowledge-graph-lexical-graph-parent-child.svg)
14-
[Parent-Child Lexical Graph](/reference/knowledge-graph/lexical-graph-parent-child)
14+
[Parent-Child Lexical Graph](/reference/knowledge-graph/lexical-graph-parent-child/)
1515

1616
## Context
1717

@@ -29,7 +29,7 @@ Optionally chunks for the same parent are aggregated and their scores are averag
2929

3030
## Usage
3131

32-
This pattern is a useful evolution of the [Basic Retriever](/reference/graphrag/basic-retriever).
32+
This pattern is a useful evolution of the [Basic Retriever](/reference/graphrag/basic-retriever/).
3333
It is especially useful when several topics are covered in a chunk which subsequently influence the embedding negatively while smaller chunks will have more meaningful vector representations which can then lead to better similarity search results.
3434
With limited additional effort, better results can be obtained.
3535

@@ -62,7 +62,7 @@ RETURN parent.title + reduce(r="", c in chunks | r + "\n\n" + c.text) AS text,
6262

6363
## Similar Patterns
6464

65-
Similar patterns can be implemented on [Lexical Graphs With a Sibling Structure](../knowledge-graph/lexical-graph-sibling-structure) or [Lexical Graphs With a Hierarchical Structure](../knowledge-graph/lexical-graph-hierarchical-structure), where the additional context does not come from retrieving just the parent document but sibling documents or a previously set depth of structures.
65+
Similar patterns can be implemented on [Lexical Graphs With a Sibling Structure](/reference/knowledge-graph/lexical-graph-sibling-structure/) or [Lexical Graphs With a Hierarchical Structure](/reference/knowledge-graph/lexical-graph-hierarchical-structure/), where the additional context does not come from retrieving just the parent document but sibling documents or a previously set depth of structures.
6666
The Lexical Graph With Sibling Structure is, for example, currently implemented in [Neo4j’s LLM Knowledge Graph Builder](https://neo4j.com/labs/genai-ecosystem/llm-graph-builder/).
6767

6868
Note that there are two kinds of retrievers possible on a Lexical Graph With a Hierarchical Structure:

src/content/docs/reference/graphrag/text2cypher.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ tags: ["Intermediate"]
77
## Required Graph Shape
88

99
![Domain Graph](../../../../assets/images/domain-graph.svg)
10-
[Domain Graph](/reference/knowledge-graph/domain-graph)
10+
[Domain Graph](/reference/knowledge-graph/domain-graph/)
1111

1212
## Context
1313

14-
The two related GraphRAG patterns [Cypher Templates](/reference/graphrag/cypher-templates) and [Dynamic Cypher Generation](/reference/graphrag/dynamic-cypher-generation) are both limited by the queries / query snippets that are defined during implementation.
14+
The two related GraphRAG patterns [Cypher Templates](/reference/graphrag/cypher-templates/) and [Dynamic Cypher Generation](/reference/graphrag/dynamic-cypher-generation/) are both limited by the queries / query snippets that are defined during implementation.
1515

1616
## Description
1717

@@ -35,7 +35,7 @@ The schema can be optionally enhanced by actual data value samples, distribution
3535

3636
## Further Considerations
3737

38-
If we compare [Cypher Templates](/reference/graphrag/cypher-templates), [Dynamic Cypher Generation](/reference/graphrag/dynamic-cypher-generation), and Text2Cypher, we could use the following analogy (illustrated in the images below)
38+
If we compare [Cypher Templates](/reference/graphrag/cypher-templates/), [Dynamic Cypher Generation](/reference/graphrag/dynamic-cypher-generation/), and Text2Cypher, we could use the following analogy (illustrated in the images below)
3939

4040
![](https://dist.neo4j.com/wp-content/uploads/20240917100605/1mLD1YAwWzz14neLgHwi-Kg.png)
4141

src/content/docs/reference/knowledge-graph/lexical-graph-extracted-entities-community-summaries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ Additionally to extracting entities and their relationships, we need to form hie
4343

4444
## GraphRAG Pattern
4545

46-
A Lexical Graph with Extracted Entities and Community Summaries is used in [Global Community Summary Retrievers](/reference/graphrag/global-community-summary-retriever) and [Local Retrievers](/reference/graphrag/local-retriever).
46+
A Lexical Graph with Extracted Entities and Community Summaries is used in [Global Community Summary Retrievers](/reference/graphrag/global-community-summary-retriever/) and [Local Retrievers](/reference/graphrag/local-retriever/).

src/content/docs/reference/knowledge-graph/lexical-graph-extracted-entities.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A Lexical Graph that additionally contains extracted entities and r
55

66
## Context
77

8-
The biggest problem with the vector search approach as in the e.g. [Basic Retrievers](/reference/graphrag/basic-retriever) or [Parent-Child Retrievers](/reference/graphrag/parent-child-retriever) is finding all relevant context that is necessary to answer a question. The context can be spread across many chunks not being found by the search. Relating the real-world entities from the chunks to each other and retrieving these relationships together with a vector search provides additional context about these entities that the chunks deal with.
8+
The biggest problem with the vector search approach as in the e.g. [Basic Retrievers](/reference/graphrag/basic-retriever/) or [Parent-Child Retrievers](/reference/graphrag/parent-child-retriever/) is finding all relevant context that is necessary to answer a question. The context can be spread across many chunks not being found by the search. Relating the real-world entities from the chunks to each other and retrieving these relationships together with a vector search provides additional context about these entities that the chunks deal with.
99

1010
## Graph Pattern
1111

src/content/docs/reference/knowledge-graph/lexical-graph-hierarchical-structure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: A Lexical Graph that additionally contains a Hierarchical Structure
66
## Context
77

88
If the given documents have pre-defined structures, it is useful to persist them into the chunk structure.
9-
This pattern is an evolution of the [Lexical Graph](/reference/knowledge-graph/lexical-graph)
9+
This pattern is an evolution of the [Lexical Graph](/reference/knowledge-graph/lexical-graph/)
1010

1111
## Graph Pattern
1212

src/content/docs/reference/knowledge-graph/lexical-graph-hypothetical-questions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: A Lexical Graph that additionally contains hypothetical questions t
66
## Context
77

88
The vector similarity between a question’s embedding and the text embedding of an appropriate answer might be quite different from each other. If we have question-chunk pairs available, we can execute a vector similarity search on the question embeddings which will probably deliver much better results than a vector similarity search on the chunks.
9-
This pattern is an evolution of the [Lexical Graph](/reference/knowledge-graph/lexical-graph)
9+
This pattern is an evolution of the [Lexical Graph](/reference/knowledge-graph/lexical-graph/)
1010

1111
## Graph Pattern
1212

@@ -37,4 +37,4 @@ Use an LLM to generate hypothetical questions that are answered within the chunk
3737

3838
## GraphRAG Pattern
3939

40-
A Lexical Graph with Hypothetical Questions is used in [Hypothetical Question Retrievers](/reference/graphrag/hypothetical-question-retriever).
40+
A Lexical Graph with Hypothetical Questions is used in [Hypothetical Question Retrievers](/reference/graphrag/hypothetical-question-retriever/).

src/content/docs/reference/knowledge-graph/lexical-graph-parent-child.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: A Lexical Graph that additionally contains a Parent-Child Structure
77

88
It is useful to chunk large documents into smaller pieces for creating embeddings. An embedding is a text’s semantic representation capturing the meaning of what the text is about. If the given text is long and contains too many diverse subjects, the informative value of its embedding deteriorates.
99
A more narrow piece of text will yield a more meaningful vector representation than a broader one since there is less noise from multiple topics. However if the LLM only receives a very small piece of information for answer generation, the information might be missing context. Retrieving the broader piece of text that the found information resides in solves the problem.
10-
This pattern is an evolution of the [Lexical Graph](/reference/knowledge-graph/lexical-graph)
10+
This pattern is an evolution of the [Lexical Graph](/reference/knowledge-graph/lexical-graph/)
1111

1212
## Graph Pattern
1313

@@ -36,4 +36,4 @@ When chunking documents, split them into (bigger) chunks (aka Parent Chunks) and
3636

3737
## GraphRAG Pattern
3838

39-
A Parent-Child Lexical Graph is used in [Parent-Child Retrievers](/reference/graphrag/parent-child-retriever).
39+
A Parent-Child Lexical Graph is used in [Parent-Child Retrievers](/reference/graphrag/parent-child-retriever/).

src/content/docs/reference/knowledge-graph/lexical-graph-sibling-structure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: A Lexical Graph that additionally contains a relationships between
66
## Context
77

88
It is useful to keep track of adjacent chunks for a possible retrieval of them.
9-
This pattern is an evolution of the [Lexical Graph](/reference/knowledge-graph/lexical-graph)
9+
This pattern is an evolution of the [Lexical Graph](/reference/knowledge-graph/lexical-graph/)
1010

1111
## Graph Pattern
1212

src/content/docs/reference/knowledge-graph/lexical-graph.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Split documents into chunks and use an embedding model to embed the text content
3131

3232
## GraphRAG Pattern
3333

34-
A Lexical Graph is used in [Basic Retrievers](/reference/graphrag/basic-retriever).
34+
A Lexical Graph is used in [Basic Retrievers](/reference/graphrag/basic-retriever/).

src/content/docs/reference/knowledge-graph/text-seq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ metadata like a source reference.
3737

3838
## See also
3939

40-
- [Lexical Graph](/reference/knowledge-graph/lexical-graph)
40+
- [Lexical Graph](/reference/knowledge-graph/lexical-graph/)

0 commit comments

Comments
 (0)