Skip to content

Commit d4e7474

Browse files
author
Pablo Marin
committed
fix credentials.env
1 parent 484192c commit d4e7474

3 files changed

+59
-60
lines changed

02-LoadCSVOneToMany-ACogSearch.ipynb

+51-51
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"cell_type": "code",
20-
"execution_count": 1,
20+
"execution_count": null,
2121
"id": "c088c844-1e71-4279-a8fe-a77a007c15c4",
2222
"metadata": {},
2323
"outputs": [],
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"cell_type": "code",
37-
"execution_count": 2,
37+
"execution_count": null,
3838
"id": "c4908539-1d17-46a3-b9e0-dcc46a210c4f",
3939
"metadata": {},
4040
"outputs": [],
@@ -48,7 +48,7 @@
4848
},
4949
{
5050
"cell_type": "code",
51-
"execution_count": 3,
51+
"execution_count": null,
5252
"id": "f2434379-070e-4110-8f5a-7d5bda9a0b7c",
5353
"metadata": {},
5454
"outputs": [],
@@ -68,15 +68,15 @@
6868
},
6969
{
7070
"cell_type": "code",
71-
"execution_count": 4,
71+
"execution_count": null,
7272
"id": "a9fa6c09-a489-4b6d-8c93-5fc26bae63a0",
7373
"metadata": {},
7474
"outputs": [
7575
{
7676
"name": "stdout",
7777
"output_type": "stream",
7878
"text": [
79-
"201\n",
79+
"204\n",
8080
"True\n"
8181
]
8282
}
@@ -120,7 +120,7 @@
120120
},
121121
{
122122
"cell_type": "code",
123-
"execution_count": 5,
123+
"execution_count": null,
124124
"id": "2fbbbd0d-3015-4601-9ef1-7008ad168167",
125125
"metadata": {},
126126
"outputs": [],
@@ -132,7 +132,7 @@
132132
},
133133
{
134134
"cell_type": "code",
135-
"execution_count": 6,
135+
"execution_count": null,
136136
"id": "aaac918a-8859-45f5-9519-2cf56bfded88",
137137
"metadata": {},
138138
"outputs": [
@@ -148,72 +148,72 @@
148148
"text/html": [
149149
"<style type=\"text/css\">\n",
150150
"</style>\n",
151-
"<table id=\"T_dea2b\">\n",
151+
"<table id=\"T_deaed\">\n",
152152
" <thead>\n",
153153
" <tr>\n",
154154
" <th class=\"blank level0\" >&nbsp;</th>\n",
155-
" <th id=\"T_dea2b_level0_col0\" class=\"col_heading level0 col0\" >cord_uid</th>\n",
156-
" <th id=\"T_dea2b_level0_col1\" class=\"col_heading level0 col1\" >source_x</th>\n",
157-
" <th id=\"T_dea2b_level0_col2\" class=\"col_heading level0 col2\" >title</th>\n",
158-
" <th id=\"T_dea2b_level0_col3\" class=\"col_heading level0 col3\" >abstract</th>\n",
159-
" <th id=\"T_dea2b_level0_col4\" class=\"col_heading level0 col4\" >authors</th>\n",
160-
" <th id=\"T_dea2b_level0_col5\" class=\"col_heading level0 col5\" >url</th>\n",
155+
" <th id=\"T_deaed_level0_col0\" class=\"col_heading level0 col0\" >cord_uid</th>\n",
156+
" <th id=\"T_deaed_level0_col1\" class=\"col_heading level0 col1\" >source_x</th>\n",
157+
" <th id=\"T_deaed_level0_col2\" class=\"col_heading level0 col2\" >title</th>\n",
158+
" <th id=\"T_deaed_level0_col3\" class=\"col_heading level0 col3\" >abstract</th>\n",
159+
" <th id=\"T_deaed_level0_col4\" class=\"col_heading level0 col4\" >authors</th>\n",
160+
" <th id=\"T_deaed_level0_col5\" class=\"col_heading level0 col5\" >url</th>\n",
161161
" </tr>\n",
162162
" </thead>\n",
163163
" <tbody>\n",
164164
" <tr>\n",
165-
" <th id=\"T_dea2b_level0_row0\" class=\"row_heading level0 row0\" >0</th>\n",
166-
" <td id=\"T_dea2b_row0_col0\" class=\"data row0 col0\" >ug7v899j</td>\n",
167-
" <td id=\"T_dea2b_row0_col1\" class=\"data row0 col1\" >PMC</td>\n",
168-
" <td id=\"T_dea2b_row0_col2\" class=\"data row0 col2\" >Clinical features of culture-p...</td>\n",
169-
" <td id=\"T_dea2b_row0_col3\" class=\"data row0 col3\" >OBJECTIVE: This retrospective ...</td>\n",
170-
" <td id=\"T_dea2b_row0_col4\" class=\"data row0 col4\" >Madani, Tariq A; Al-Ghamdi, Ai...</td>\n",
171-
" <td id=\"T_dea2b_row0_col5\" class=\"data row0 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC35282/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC35282/</a></td>\n",
165+
" <th id=\"T_deaed_level0_row0\" class=\"row_heading level0 row0\" >0</th>\n",
166+
" <td id=\"T_deaed_row0_col0\" class=\"data row0 col0\" >ug7v899j</td>\n",
167+
" <td id=\"T_deaed_row0_col1\" class=\"data row0 col1\" >PMC</td>\n",
168+
" <td id=\"T_deaed_row0_col2\" class=\"data row0 col2\" >Clinical features of culture-p...</td>\n",
169+
" <td id=\"T_deaed_row0_col3\" class=\"data row0 col3\" >OBJECTIVE: This retrospective ...</td>\n",
170+
" <td id=\"T_deaed_row0_col4\" class=\"data row0 col4\" >Madani, Tariq A; Al-Ghamdi, Ai...</td>\n",
171+
" <td id=\"T_deaed_row0_col5\" class=\"data row0 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC35282/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC35282/</a></td>\n",
172172
" </tr>\n",
173173
" <tr>\n",
174-
" <th id=\"T_dea2b_level0_row1\" class=\"row_heading level0 row1\" >1</th>\n",
175-
" <td id=\"T_dea2b_row1_col0\" class=\"data row1 col0\" >02tnwd4m</td>\n",
176-
" <td id=\"T_dea2b_row1_col1\" class=\"data row1 col1\" >PMC</td>\n",
177-
" <td id=\"T_dea2b_row1_col2\" class=\"data row1 col2\" >Nitric oxide: a pro-inflammato...</td>\n",
178-
" <td id=\"T_dea2b_row1_col3\" class=\"data row1 col3\" >Inflammatory diseases of the r...</td>\n",
179-
" <td id=\"T_dea2b_row1_col4\" class=\"data row1 col4\" >Vliet, Albert van der; Eiseric...</td>\n",
180-
" <td id=\"T_dea2b_row1_col5\" class=\"data row1 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59543/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59543/</a></td>\n",
174+
" <th id=\"T_deaed_level0_row1\" class=\"row_heading level0 row1\" >1</th>\n",
175+
" <td id=\"T_deaed_row1_col0\" class=\"data row1 col0\" >02tnwd4m</td>\n",
176+
" <td id=\"T_deaed_row1_col1\" class=\"data row1 col1\" >PMC</td>\n",
177+
" <td id=\"T_deaed_row1_col2\" class=\"data row1 col2\" >Nitric oxide: a pro-inflammato...</td>\n",
178+
" <td id=\"T_deaed_row1_col3\" class=\"data row1 col3\" >Inflammatory diseases of the r...</td>\n",
179+
" <td id=\"T_deaed_row1_col4\" class=\"data row1 col4\" >Vliet, Albert van der; Eiseric...</td>\n",
180+
" <td id=\"T_deaed_row1_col5\" class=\"data row1 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59543/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59543/</a></td>\n",
181181
" </tr>\n",
182182
" <tr>\n",
183-
" <th id=\"T_dea2b_level0_row2\" class=\"row_heading level0 row2\" >2</th>\n",
184-
" <td id=\"T_dea2b_row2_col0\" class=\"data row2 col0\" >ejv2xln0</td>\n",
185-
" <td id=\"T_dea2b_row2_col1\" class=\"data row2 col1\" >PMC</td>\n",
186-
" <td id=\"T_dea2b_row2_col2\" class=\"data row2 col2\" >Surfactant protein-D and pulmo...</td>\n",
187-
" <td id=\"T_dea2b_row2_col3\" class=\"data row2 col3\" >Surfactant protein-D (SP-D) pa...</td>\n",
188-
" <td id=\"T_dea2b_row2_col4\" class=\"data row2 col4\" >Crouch, Erika C...</td>\n",
189-
" <td id=\"T_dea2b_row2_col5\" class=\"data row2 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59549/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59549/</a></td>\n",
183+
" <th id=\"T_deaed_level0_row2\" class=\"row_heading level0 row2\" >2</th>\n",
184+
" <td id=\"T_deaed_row2_col0\" class=\"data row2 col0\" >ejv2xln0</td>\n",
185+
" <td id=\"T_deaed_row2_col1\" class=\"data row2 col1\" >PMC</td>\n",
186+
" <td id=\"T_deaed_row2_col2\" class=\"data row2 col2\" >Surfactant protein-D and pulmo...</td>\n",
187+
" <td id=\"T_deaed_row2_col3\" class=\"data row2 col3\" >Surfactant protein-D (SP-D) pa...</td>\n",
188+
" <td id=\"T_deaed_row2_col4\" class=\"data row2 col4\" >Crouch, Erika C...</td>\n",
189+
" <td id=\"T_deaed_row2_col5\" class=\"data row2 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59549/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59549/</a></td>\n",
190190
" </tr>\n",
191191
" <tr>\n",
192-
" <th id=\"T_dea2b_level0_row3\" class=\"row_heading level0 row3\" >3</th>\n",
193-
" <td id=\"T_dea2b_row3_col0\" class=\"data row3 col0\" >2b73a28n</td>\n",
194-
" <td id=\"T_dea2b_row3_col1\" class=\"data row3 col1\" >PMC</td>\n",
195-
" <td id=\"T_dea2b_row3_col2\" class=\"data row3 col2\" >Role of endothelin-1 in lung d...</td>\n",
196-
" <td id=\"T_dea2b_row3_col3\" class=\"data row3 col3\" >Endothelin-1 (ET-1) is a 21 am...</td>\n",
197-
" <td id=\"T_dea2b_row3_col4\" class=\"data row3 col4\" >Fagan, Karen A; McMurtry, Ivan...</td>\n",
198-
" <td id=\"T_dea2b_row3_col5\" class=\"data row3 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59574/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59574/</a></td>\n",
192+
" <th id=\"T_deaed_level0_row3\" class=\"row_heading level0 row3\" >3</th>\n",
193+
" <td id=\"T_deaed_row3_col0\" class=\"data row3 col0\" >2b73a28n</td>\n",
194+
" <td id=\"T_deaed_row3_col1\" class=\"data row3 col1\" >PMC</td>\n",
195+
" <td id=\"T_deaed_row3_col2\" class=\"data row3 col2\" >Role of endothelin-1 in lung d...</td>\n",
196+
" <td id=\"T_deaed_row3_col3\" class=\"data row3 col3\" >Endothelin-1 (ET-1) is a 21 am...</td>\n",
197+
" <td id=\"T_deaed_row3_col4\" class=\"data row3 col4\" >Fagan, Karen A; McMurtry, Ivan...</td>\n",
198+
" <td id=\"T_deaed_row3_col5\" class=\"data row3 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59574/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59574/</a></td>\n",
199199
" </tr>\n",
200200
" <tr>\n",
201-
" <th id=\"T_dea2b_level0_row4\" class=\"row_heading level0 row4\" >4</th>\n",
202-
" <td id=\"T_dea2b_row4_col0\" class=\"data row4 col0\" >9785vg6d</td>\n",
203-
" <td id=\"T_dea2b_row4_col1\" class=\"data row4 col1\" >PMC</td>\n",
204-
" <td id=\"T_dea2b_row4_col2\" class=\"data row4 col2\" >Gene expression in epithelial ...</td>\n",
205-
" <td id=\"T_dea2b_row4_col3\" class=\"data row4 col3\" >Respiratory syncytial virus (R...</td>\n",
206-
" <td id=\"T_dea2b_row4_col4\" class=\"data row4 col4\" >Domachowske, Joseph B; Bonvill...</td>\n",
207-
" <td id=\"T_dea2b_row4_col5\" class=\"data row4 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59580/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59580/</a></td>\n",
201+
" <th id=\"T_deaed_level0_row4\" class=\"row_heading level0 row4\" >4</th>\n",
202+
" <td id=\"T_deaed_row4_col0\" class=\"data row4 col0\" >9785vg6d</td>\n",
203+
" <td id=\"T_deaed_row4_col1\" class=\"data row4 col1\" >PMC</td>\n",
204+
" <td id=\"T_deaed_row4_col2\" class=\"data row4 col2\" >Gene expression in epithelial ...</td>\n",
205+
" <td id=\"T_deaed_row4_col3\" class=\"data row4 col3\" >Respiratory syncytial virus (R...</td>\n",
206+
" <td id=\"T_deaed_row4_col4\" class=\"data row4 col4\" >Domachowske, Joseph B; Bonvill...</td>\n",
207+
" <td id=\"T_deaed_row4_col5\" class=\"data row4 col5\" ><a href=\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59580/\">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC59580/</a></td>\n",
208208
" </tr>\n",
209209
" </tbody>\n",
210210
"</table>\n"
211211
],
212212
"text/plain": [
213-
"<pandas.io.formats.style.Styler at 0x7f0ca0a41ff0>"
213+
"<pandas.io.formats.style.Styler at 0x7f44dba3b3d0>"
214214
]
215215
},
216-
"execution_count": 6,
216+
"execution_count": 11,
217217
"metadata": {},
218218
"output_type": "execute_result"
219219
}

04-Complex-Docs.ipynb

+6-6
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"cell_type": "code",
27-
"execution_count": 1,
27+
"execution_count": null,
2828
"id": "15f6044e-463f-4988-bc46-a3c3d641c15c",
2929
"metadata": {},
3030
"outputs": [],
@@ -75,7 +75,7 @@
7575
},
7676
{
7777
"cell_type": "code",
78-
"execution_count": 2,
78+
"execution_count": null,
7979
"id": "331692ba-b68e-4b99-9bae-5057da9a389d",
8080
"metadata": {},
8181
"outputs": [],
@@ -86,7 +86,7 @@
8686
},
8787
{
8888
"cell_type": "code",
89-
"execution_count": 3,
89+
"execution_count": null,
9090
"id": "594ff0d4-56e3-4bed-843d-28c7a092069b",
9191
"metadata": {},
9292
"outputs": [],
@@ -114,7 +114,7 @@
114114
},
115115
{
116116
"cell_type": "code",
117-
"execution_count": 4,
117+
"execution_count": null,
118118
"id": "0999e24b-6a75-4fa1-9a5f-426cf0f0bdba",
119119
"metadata": {},
120120
"outputs": [],
@@ -136,15 +136,15 @@
136136
},
137137
{
138138
"cell_type": "code",
139-
"execution_count": 5,
139+
"execution_count": 8,
140140
"id": "3554f0b7-fee8-4446-a155-5d22dc0f0888",
141141
"metadata": {},
142142
"outputs": [
143143
{
144144
"name": "stderr",
145145
"output_type": "stream",
146146
"text": [
147-
"100%|██████████| 5/5 [00:25<00:00, 5.20s/it]\n"
147+
"100%|██████████| 5/5 [00:27<00:00, 5.44s/it]\n"
148148
]
149149
}
150150
],

credentials.env

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ BING_SEARCH_URL="https://api.bing.microsoft.com/v7.0/search"
55
BOT_DIRECT_CHANNEL_ENDPOINT="https://directline.botframework.com/v3/directline"
66

77
# Demo Data (edit with your own if you want to use your own data)
8-
BLOB_CONNECTION_STRING="BlobEndpoint=https://datasetsgptsmartsearch.blob.core.windows.net/;QueueEndpoint=https://datasetsgptsmartsearch.queue.core.windows.net/;FileEndpoint=https://datasetsgptsmartsearch.file.core.windows.net/;TableEndpoint=https://datasetsgptsmartsearch.table.core.windows.net/;SharedAccessSignature=sv=2022-11-02&ss=bfqt&srt=sco&sp=rwlptf&se=2025-05-05T22:12:44Z&st=2024-05-05T14:12:44Z&spr=https&sig=bHiuqs%2FphrTS5lCheNrziZtmf5Ehas64KPd80rJf%2F9E%3D"
9-
BLOB_SAS_TOKEN="sv=2022-11-02&ss=bfqt&srt=sco&sp=rwlptf&se=2025-05-05T22:12:44Z&st=2024-05-05T14:12:44Z&spr=https&sig=bHiuqs%2FphrTS5lCheNrziZtmf5Ehas64KPd80rJf%2F9E%3D"
8+
BLOB_CONNECTION_STRING="BlobEndpoint=https://datasetsgptsmartsearch.blob.core.windows.net/;SharedAccessSignature=sv=2022-11-02&ss=b&srt=sco&sp=rl&se=2026-01-03T02:11:44Z&st=2024-01-02T18:11:44Z&spr=https&sig=ngrEqvqBVaxyuSYqgPVeF%2B9c0fXLs94v3ASgwg7LDBs%3D"
9+
BLOB_SAS_TOKEN="?sv=2022-11-02&ss=b&srt=sco&sp=rl&se=2025-05-07T22:20:04Z&st=2024-05-07T14:20:04Z&spr=https&sig=iy2PycZwWefYLWwqHjIzwkA6TjEBJTKr65Cd9yuv4HA%3D"
1010

1111
# Edit with your own azure services values
1212

@@ -32,4 +32,3 @@ AZURE_COSMOSDB_CONTAINER_NAME="ENTER YOUR VALUE"
3232
AZURE_COMOSDB_CONNECTION_STRING="ENTER YOUR VALUE" # Find this in the Keys section
3333
BOT_ID="ENTER YOUR VALUE" # This is the name of your bot service created in Notebook 12
3434
BOT_SERVICE_DIRECT_LINE_SECRET="ENTER YOUR VALUE" # Find this in Azure Bot Service -> Channels -> Direct Line
35-

0 commit comments

Comments
 (0)