Skip to content

Commit c7b8c7a

Browse files
authored
Merge pull request #373 from pinecone-io/rag-chatbot
fix small issues in rag-chatbot notebook
2 parents 41efe90 + 1c37b9f commit c7b8c7a

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

docs/rag-getting-started.ipynb

+5-17
Original file line numberDiff line numberDiff line change
@@ -78,26 +78,14 @@
7878
},
7979
{
8080
"cell_type": "code",
81-
"execution_count": 2,
81+
"execution_count": null,
8282
"metadata": {
8383
"ExecuteTime": {
8484
"end_time": "2024-07-25T14:55:59.328779Z",
8585
"start_time": "2024-07-25T14:55:58.993178Z"
8686
}
8787
},
88-
"outputs": [
89-
{
90-
"ename": "ModuleNotFoundError",
91-
"evalue": "No module named 'pinecone_notebooks'",
92-
"output_type": "error",
93-
"traceback": [
94-
"\u001B[0;31m---------------------------------------------------------------------------\u001B[0m",
95-
"\u001B[0;31mModuleNotFoundError\u001B[0m Traceback (most recent call last)",
96-
"Input \u001B[0;32mIn [2]\u001B[0m, in \u001B[0;36m<cell line: 4>\u001B[0;34m()\u001B[0m\n\u001B[1;32m 3\u001B[0m \u001B[38;5;66;03m# initialize connection to pinecone (orget API key at app.pinecone.io)\u001B[39;00m\n\u001B[1;32m 4\u001B[0m \u001B[38;5;28;01mif\u001B[39;00m \u001B[38;5;129;01mnot\u001B[39;00m os\u001B[38;5;241m.\u001B[39menviron\u001B[38;5;241m.\u001B[39mget(\u001B[38;5;124m\"\u001B[39m\u001B[38;5;124mPINECONE_API_KEY\u001B[39m\u001B[38;5;124m\"\u001B[39m):\n\u001B[0;32m----> 5\u001B[0m \u001B[38;5;28;01mfrom\u001B[39;00m \u001B[38;5;21;01mpinecone_notebooks\u001B[39;00m\u001B[38;5;21;01m.\u001B[39;00m\u001B[38;5;21;01mcolab\u001B[39;00m \u001B[38;5;28;01mimport\u001B[39;00m Authenticate\n\u001B[1;32m 6\u001B[0m Authenticate()\n",
97-
"\u001B[0;31mModuleNotFoundError\u001B[0m: No module named 'pinecone_notebooks'"
98-
]
99-
}
100-
],
88+
"outputs": [],
10189
"source": [
10290
"import os\n",
10391
"\n",
@@ -2092,7 +2080,7 @@
20922080
"id": "OAll2N_wuOra"
20932081
},
20942082
"source": [
2095-
"Send `query1` to the LLM twice, first with relevant context from Pincone and then without any additional context:"
2083+
"Send `query1` to the LLM twice, first with relevant context from Pinecone and then without any additional context:"
20962084
]
20972085
},
20982086
{
@@ -2249,9 +2237,9 @@
22492237
"provenance": []
22502238
},
22512239
"kernelspec": {
2252-
"name": "python3",
2240+
"display_name": "Python 3 (ipykernel)",
22532241
"language": "python",
2254-
"display_name": "Python 3 (ipykernel)"
2242+
"name": "python3"
22552243
},
22562244
"language_info": {
22572245
"name": "python"

0 commit comments

Comments
 (0)