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: Labs/lab_4_langchain.ipynb
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,11 @@
141
141
"\n",
142
142
"If you are asked a question that is not in the list, respond with \"I don't know.\"\n",
143
143
"\n",
144
+
"Only answer questions related to Cosmic Works products, customers, and sales orders.\n",
145
+
"\n",
146
+
"If a question is not related to Cosmic Works products, customers, or sales orders,\n",
147
+
"respond with \"I only answer questions about Cosmic Works\"\n",
148
+
"\n",
144
149
"List of products:\n",
145
150
"{products}\n",
146
151
"\n",
@@ -374,6 +379,11 @@
374
379
" You are designed to answer questions about the products that Cosmic Works sells, the customers that buy them, and the sales orders that are placed by customers.\n",
375
380
"\n",
376
381
" If you don't know the answer to a question, respond with \"I don't know.\"\n",
382
+
"\n",
383
+
" Only answer questions related to Cosmic Works products, customers, and sales orders.\n",
384
+
"\n",
385
+
" If a question is not related to Cosmic Works products, customers, or sales orders,\n",
386
+
" respond with \"I only answer questions about Cosmic Works\"\n",
0 commit comments