Skip to content

Commit 215ee96

Browse files
amullick-gitAmarnath Mullick
andauthored
docs: A few minor fixes for the notebook of Graph QA chain (googleapis#120)
* Add Spanner Graph QA Chain * Formatted notebook. Added copyright message to prompts file. * Add missing imports for random graph name * Make input table name randomized in integration tests to avoid name collision for tests running parallely from different python environments * Provide timeout to graph cleanup * Make default timeout of 300 secs for ddl application * Increase timeout of integration test * Change integration test timeout * Minor formatting fixes * Make the ddl operations test fixture scoped for the module * Addressed review comments * Addressed a few other review comments. * Remove unused function * fix type check errors * Addressed review comments * Addressed review comments * Clear default project id from notebook * Add import statement for SpanerGraphQAChain to notebook --------- Co-authored-by: Amarnath Mullick <[email protected]>
1 parent 921d3e5 commit 215ee96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/graph_qa_chain.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"source": [
151151
"# @markdown Please fill in the value below with your Google Cloud project ID and then run the cell.\n",
152152
"\n",
153-
"PROJECT_ID = \"google.com:cloud-spanner-demo\" # @param {type:\"string\"}\n",
153+
"PROJECT_ID = \"\" # @param {type:\"string\"}\n",
154154
"\n",
155155
"# Set the project id\n",
156156
"!gcloud config set project {PROJECT_ID}\n",
@@ -494,6 +494,7 @@
494494
"cell_type": "code",
495495
"source": [
496496
"from google.cloud import spanner\n",
497+
"from langchain_google_spanner import SpannerGraphQAChain\n",
497498
"from langchain_google_vertexai import ChatVertexAI\n",
498499
"from IPython.core.display import HTML\n",
499500
"\n",

0 commit comments

Comments
 (0)