Skip to content

Commit 353acfd

Browse files
author
Diepenbruck
committed
Merge branch 'ragsphere' into github_mirror
2 parents 50835ab + 8d047eb commit 353acfd

File tree

7 files changed

+80
-49
lines changed

7 files changed

+80
-49
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ db/elastic_data/**
2828
!db/elastic_data/README.md
2929
db/postgres_data
3030
resources/*.log
31+
32+
public/

docs/demo/Text2Cypher.ipynb

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@
1616
"**NOTE: The APOC core library must be installed in your Neo4j instance ([Installation](https://neo4j.com/docs/apoc/current/installation/))**"
1717
]
1818
},
19-
{
20-
"cell_type": "code",
21-
"execution_count": null,
22-
"id": "0ff1a2b5-9659-4eae-921e-26720f5da069",
23-
"metadata": {
24-
"scrolled": true
25-
},
26-
"outputs": [],
27-
"source": [
28-
"%pip install -e .."
29-
]
30-
},
3119
{
3220
"cell_type": "code",
3321
"execution_count": 2,
@@ -398,7 +386,7 @@
398386
],
399387
"metadata": {
400388
"kernelspec": {
401-
"display_name": "Python 3 (ipykernel)",
389+
"display_name": "rag-sphere",
402390
"language": "python",
403391
"name": "python3"
404392
},
@@ -412,7 +400,7 @@
412400
"name": "python",
413401
"nbconvert_exporter": "python",
414402
"pygments_lexer": "ipython3",
415-
"version": "3.11.5"
403+
"version": "3.11.14"
416404
}
417405
},
418406
"nbformat": 4,

docs/demo/Vector_GraphRAG.ipynb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@
1616
"**NOTE: The APOC core library must be installed in your Neo4j instance ([Installation](https://neo4j.com/docs/apoc/current/installation/))**"
1717
]
1818
},
19-
{
20-
"cell_type": "code",
21-
"execution_count": null,
22-
"id": "332de69e-83fc-49c3-9a08-a9362de413a3",
23-
"metadata": {
24-
"scrolled": true
25-
},
26-
"outputs": [],
27-
"source": [
28-
"%pip install -e .."
29-
]
30-
},
3119
{
3220
"cell_type": "code",
3321
"execution_count": 2,

docs/demo/Vector_RAG.ipynb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@
88
"### Preamble"
99
]
1010
},
11-
{
12-
"cell_type": "code",
13-
"execution_count": null,
14-
"id": "0ece83c1-b5f0-4cf0-94c5-e2452394f5f3",
15-
"metadata": {
16-
"scrolled": true
17-
},
18-
"outputs": [],
19-
"source": [
20-
"%pip install -e .."
21-
]
22-
},
2311
{
2412
"cell_type": "code",
2513
"execution_count": 17,

docs/demo/index.md

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,46 @@
33

44
The following is a list of Jupyter notebooks that demonstrate how to use the included Retrieval-Augmented Generation techniques.
55

6-
- [Vector RAG Notebook](Vector_RAG.ipynb)
7-
- [Vector GraphRAG Notebook](Vector_GraphRAG.ipynb)
8-
- [Vector Cypher GraphRAG Notebook](Vector_Cypher_GraphRAG.ipynb)
9-
- [Hybrid GraphRAG Notebook](Hybrid_GraphRAG.ipynb)
10-
- [Hybrid Cypher GraphRAG Notebook](Hybrid_Cypher_GraphRAG.ipynb)
11-
- [Text2Cypher Notebook](Text2Cypher.ipynb)
12-
- [GARAG Notebook](GARAG.ipynb)
13-
- [Naive GraphRAG Notebook](Naive_GraphRAG.ipynb)
6+
<div class="nb-list">
7+
8+
<div class="nb-row">
9+
<a class="nb-link" href="Vector_RAG">Vector RAG Notebook</a>
10+
<a class="nb-dl" href="https://github.com/DLR-SC/RAG-Sphere/blob/rag-sphere/docs/demo/Vector_RAG.ipynb" download>Download</a>
11+
</div>
12+
13+
<div class="nb-row">
14+
<a class="nb-link" href="Vector_GraphRAG">Vector GraphRAG Notebook</a>
15+
<a class="nb-dl" href="https://github.com/DLR-SC/RAG-Sphere/blob/rag-sphere/docs/demo/Vector_GraphRAG.ipynb" download>Download</a>
16+
</div>
17+
18+
<div class="nb-row">
19+
<a class="nb-link" href="Vector_Cypher_GraphRAG">Vector Cypher GraphRAG Notebook</a>
20+
<a class="nb-dl" href="https://github.com/DLR-SC/RAG-Sphere/blob/rag-sphere/docs/demo/Vector_Cypher_GraphRAG.ipynb" download>Download</a>
21+
</div>
22+
23+
<div class="nb-row">
24+
<a class="nb-link" href="Hybrid_GraphRAG">Hybrid GraphRAG Notebook</a>
25+
<a class="nb-dl" href="https://github.com/DLR-SC/RAG-Sphere/blob/rag-sphere/docs/demo/Hybrid_GraphRAG.ipynb" download>Download</a>
26+
</div>
27+
28+
<div class="nb-row">
29+
<a class="nb-link" href="Hybrid_Cypher_GraphRAG">Hybrid Cypher GraphRAG Notebook</a>
30+
<a class="nb-dl" href="https://github.com/DLR-SC/RAG-Sphere/blob/rag-sphere/docs/demo/Hybrid_Cypher_GraphRAG.ipynb" download>Download</a>
31+
</div>
32+
33+
<div class="nb-row">
34+
<a class="nb-link" href="Text2Cypher">Text2Cypher Notebook</a>
35+
<a class="nb-dl" href="https://github.com/DLR-SC/RAG-Sphere/blob/rag-sphere/docs/demo/Text2Cypher.ipynb" download>Download</a>
36+
</div>
37+
38+
<div class="nb-row">
39+
<a class="nb-link" href="GARAG">GARAG Notebook</a>
40+
<a class="nb-dl" href="https://github.com/DLR-SC/RAG-Sphere/blob/rag-sphere/docs/demo/GARAG.ipynb" download>Download</a>
41+
</div>
42+
43+
<div class="nb-row">
44+
<a class="nb-link" href="Naive_GraphRAG">Naive GraphRAG Notebook</a>
45+
<a class="nb-dl" href="https://github.com/DLR-SC/RAG-Sphere/blob/rag-sphere/docs/demo/Naive_GraphRAG.ipynb" download>Download</a>
46+
</div>
47+
48+
</div>

docs/overrides/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@
9696
<div class="mdx-hero__content">
9797
<h1><span style="font-weight: bold;">RAGsphere</span>: A Unified Library of Retrieval-Augmented Generation Techniques with Implementations, Comparisons, and a Practical Selection Guide</h1>
9898
<h3>Empowering RAG Practitioners with Insights into Modern Techniques and Guidance for Choosing the Right Approach.</h3>
99-
<a href="http://127.0.0.1:8000/getting-started/" class="md-button md-button--primary">
99+
<a href="/getting-started/" class="md-button md-button--primary">
100100
Getting Started
101101
</a>
102-
<a href="http://127.0.0.1:8000/#rag-techniques" class="md-button">
102+
<a href="/#rag-techniques" class="md-button">
103103
Techniques
104104
</a>
105105
</div>

docs/stylesheets/custom.css

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,34 @@ Causes a delay when opening search, not optimal */
215215
.md-main__inner > .md-typeset table {
216216
margin-left: auto;
217217
margin-right: auto;
218-
}
218+
}
219+
220+
.nb-list {
221+
margin-top: 1rem;
222+
}
223+
224+
.nb-row {
225+
display: flex;
226+
gap: 1rem;
227+
align-items: baseline;
228+
padding: .25rem 0;
229+
}
230+
231+
.nb-link {
232+
flex: 1;
233+
min-width: 0;
234+
}
235+
236+
.nb-dl {
237+
white-space: nowrap;
238+
font-size: 0.9em;
239+
padding: .15rem .5rem;
240+
border: 1px solid currentColor;
241+
border-radius: .4rem;
242+
text-decoration: none;
243+
opacity: .85;
244+
}
245+
246+
.nb-dl:hover {
247+
opacity: 1;
248+
}

0 commit comments

Comments
 (0)