Skip to content

Commit 7d21da3

Browse files
committed
ML/LLM: Use CrateDB Cloud as the default configuration setting snippet
1 parent 69477c6 commit 7d21da3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

topic/machine-learning/llm-langchain/cratedb_rag_customer_support_langchain.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,17 @@
136136
"outputs": [],
137137
"source": [
138138
"# Define the connection string to running CrateDB instance.\n",
139-
"CONNECTION_STRING = os.environ.get(\n",
140-
" \"CRATEDB_CONNECTION_STRING\",\n",
141-
" \"crate://crate@localhost/?schema=openai\",\n",
142-
")\n",
143-
"\n",
144-
"# Connect to CrateDB Cloud.\n",
145139
"# CONNECTION_STRING = os.environ.get(\n",
146140
"# \"CRATEDB_CONNECTION_STRING\",\n",
147-
"# \"crate://username:password@hostname/?ssl=true&schema=notebook\",\n",
141+
"# \"crate://crate@localhost/?schema=openai\",\n",
148142
"# )\n",
149143
"\n",
144+
"# Connect to CrateDB Cloud.\n",
145+
"CONNECTION_STRING = os.environ.get(\n",
146+
" \"CRATEDB_CONNECTION_STRING\",\n",
147+
" \"crate://username:password@hostname/?ssl=true&schema=notebook\",\n",
148+
")\n",
149+
"\n",
150150
"# Define the store collection to use for this notebook session.\n",
151151
"COLLECTION_NAME = \"customer_data\""
152152
]

0 commit comments

Comments
 (0)