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/document_loader.ipynb
+131-5Lines changed: 131 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@
150
150
"id": "f8f2830ee9ca1e01"
151
151
},
152
152
"source": [
153
-
"## Basic Usage"
153
+
"## Create PostgresLoader"
154
154
]
155
155
},
156
156
{
@@ -187,7 +187,7 @@
187
187
"id": "QuQigs4UoFQ2"
188
188
},
189
189
"source": [
190
-
"### Cloud SQL Engine\n",
190
+
"### Cloud SQL Engine Connection Pool\n",
191
191
"\n",
192
192
"One of the requirements and arguments to establish PostgreSQL as a document loader is a `PostgresEngine` object. The `PostgresEngine` configures a connection pool to your Cloud SQL for PostgreSQL database, enabling successful connections from your application and following industry best practices.\n",
"The loader returns a list of Documents from the table using the first column as page_content and all other columns as metadata. The default table will have the first column as\n",
263
-
"page_content and the second column as metadata (JSON). Each row becomes a document. Please note that if you want your documents to have ids you will need to add them in."
291
+
"page_content and the second column as metadata (JSON). Each row becomes a document. \n",
292
+
"\n",
293
+
"Please note that if you want your documents to have ids you will need to add them in.\n"
"The `PostgresSaver` allows for saving of pre-processed documents to the table using the first column as page_content and all other columns as metadata. This table can easily be loaded via a Document Loader or updated to be a VectorStore. The default table will have the first column as page_content and the second column as metadata (JSON)."
0 commit comments