You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/examples_notebooks/api_overview.ipynb
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
"source": [
17
17
"## API Overview\n",
18
18
"\n",
19
-
"This notebook provides a demonstration of how to interact with graphrag as a library using the API as opposed to the CLI. Note that graphrag's CLI actually connects to the library through this API for all operations."
19
+
"This notebook provides a demonstration of how to interact with graphrag as a library using the API as opposed to the CLI. Note that graphrag's CLI actually connects to the library through this API for all operations.\n"
"As a prerequisite to all API operations, a `GraphRagConfig` object is required. It is the primary means to control the behavior of graphrag and can be instantiated from a `settings.yaml` configuration file.\n",
53
53
"\n",
54
-
"Please refer to the [CLI docs](https://microsoft.github.io/graphrag/cli/#init) for more detailed information on how to generate the `settings.yaml` file."
54
+
"Please refer to the [CLI docs](https://microsoft.github.io/graphrag/cli/#init) for more detailed information on how to generate the `settings.yaml` file.\n"
55
55
]
56
56
},
57
57
{
58
58
"cell_type": "markdown",
59
59
"metadata": {},
60
60
"source": [
61
-
"### Generate a `GraphRagConfig` object"
61
+
"### Generate a `GraphRagConfig` object\n"
62
62
]
63
63
},
64
64
{
@@ -78,14 +78,14 @@
78
78
"source": [
79
79
"## Indexing API\n",
80
80
"\n",
81
-
"*Indexing* is the process of ingesting raw text data and constructing a knowledge graph. GraphRAG currently supports plaintext (`.txt`) and `.csv` file formats."
81
+
"_Indexing_ is the process of ingesting raw text data and constructing a knowledge graph. GraphRAG currently supports plaintext (`.txt`) and `.csv` file formats.\n"
82
82
]
83
83
},
84
84
{
85
85
"cell_type": "markdown",
86
86
"metadata": {},
87
87
"source": [
88
-
"## Build an index"
88
+
"## Build an index\n"
89
89
]
90
90
},
91
91
{
@@ -108,7 +108,7 @@
108
108
"source": [
109
109
"## Query an index\n",
110
110
"\n",
111
-
"To query an index, several index files must first be read into memory and passed to the query API."
111
+
"To query an index, several index files must first be read into memory and passed to the query API.\n"
112
112
]
113
113
},
114
114
{
@@ -139,7 +139,7 @@
139
139
"cell_type": "markdown",
140
140
"metadata": {},
141
141
"source": [
142
-
"The response object is the official reponse from graphrag while the context object holds various metadata regarding the querying process used to obtain the final response."
142
+
"The response object is the official reponse from graphrag while the context object holds various metadata regarding the querying process used to obtain the final response.\n"
143
143
]
144
144
},
145
145
{
@@ -155,7 +155,7 @@
155
155
"cell_type": "markdown",
156
156
"metadata": {},
157
157
"source": [
158
-
"Digging into the context a bit more provides users with extremely granular information such as what sources of data (down to the level of text chunks) were ultimately retrieved and used as part of the context sent to the LLM model)."
158
+
"Digging into the context a bit more provides users with extremely granular information such as what sources of data (down to the level of text chunks) were ultimately retrieved and used as part of the context sent to the LLM model).\n"
Copy file name to clipboardExpand all lines: docs/examples_notebooks/input_documents.ipynb
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
"\n",
19
19
"Newer versions of GraphRAG let you submit a dataframe directly instead of running through the input processing step. This notebook demonstrates with regular or update runs.\n",
20
20
"\n",
21
-
"If performing an update, the assumption is that your dataframe contains only the new documents to add to the index."
21
+
"If performing an update, the assumption is that your dataframe contains only the new documents to add to the index.\n"
"*Indexing* is the process of ingesting raw text data and constructing a knowledge graph. GraphRAG currently supports plaintext (`.txt`) and `.csv` file formats."
75
+
"_Indexing_ is the process of ingesting raw text data and constructing a knowledge graph. GraphRAG currently supports plaintext (`.txt`) and `.csv` file formats.\n"
77
76
]
78
77
},
79
78
{
80
79
"cell_type": "markdown",
81
80
"metadata": {},
82
81
"source": [
83
-
"## Build an index"
82
+
"## Build an index\n"
84
83
]
85
84
},
86
85
{
@@ -110,7 +109,7 @@
110
109
"source": [
111
110
"## Query an index\n",
112
111
"\n",
113
-
"To query an index, several index files must first be read into memory and passed to the query API."
112
+
"To query an index, several index files must first be read into memory and passed to the query API.\n"
114
113
]
115
114
},
116
115
{
@@ -141,7 +140,7 @@
141
140
"cell_type": "markdown",
142
141
"metadata": {},
143
142
"source": [
144
-
"The response object is the official reponse from graphrag while the context object holds various metadata regarding the querying process used to obtain the final response."
143
+
"The response object is the official reponse from graphrag while the context object holds various metadata regarding the querying process used to obtain the final response.\n"
145
144
]
146
145
},
147
146
{
@@ -157,7 +156,7 @@
157
156
"cell_type": "markdown",
158
157
"metadata": {},
159
158
"source": [
160
-
"Digging into the context a bit more provides users with extremely granular information such as what sources of data (down to the level of text chunks) were ultimately retrieved and used as part of the context sent to the LLM model)."
159
+
"Digging into the context a bit more provides users with extremely granular information such as what sources of data (down to the level of text chunks) were ultimately retrieved and used as part of the context sent to the LLM model).\n"
0 commit comments