Skip to content

Commit

Permalink
fix credentials.env
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Marin committed May 7, 2024
1 parent 484192c commit d4e7474
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 60 deletions.
102 changes: 51 additions & 51 deletions 02-LoadCSVOneToMany-ACogSearch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "c088c844-1e71-4279-a8fe-a77a007c15c4",
"metadata": {},
"outputs": [],
Expand All @@ -34,7 +34,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "c4908539-1d17-46a3-b9e0-dcc46a210c4f",
"metadata": {},
"outputs": [],
Expand All @@ -48,7 +48,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "f2434379-070e-4110-8f5a-7d5bda9a0b7c",
"metadata": {},
"outputs": [],
Expand All @@ -68,15 +68,15 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "a9fa6c09-a489-4b6d-8c93-5fc26bae63a0",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"201\n",
"204\n",
"True\n"
]
}
Expand Down Expand Up @@ -120,7 +120,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "2fbbbd0d-3015-4601-9ef1-7008ad168167",
"metadata": {},
"outputs": [],
Expand All @@ -132,7 +132,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "aaac918a-8859-45f5-9519-2cf56bfded88",
"metadata": {},
"outputs": [
Expand All @@ -148,72 +148,72 @@
"text/html": [
"<style type=\"text/css\">\n",
"</style>\n",
"<table id=\"T_dea2b\">\n",
"<table id=\"T_deaed\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
" <th id=\"T_dea2b_level0_col0\" class=\"col_heading level0 col0\" >cord_uid</th>\n",
" <th id=\"T_dea2b_level0_col1\" class=\"col_heading level0 col1\" >source_x</th>\n",
" <th id=\"T_dea2b_level0_col2\" class=\"col_heading level0 col2\" >title</th>\n",
" <th id=\"T_dea2b_level0_col3\" class=\"col_heading level0 col3\" >abstract</th>\n",
" <th id=\"T_dea2b_level0_col4\" class=\"col_heading level0 col4\" >authors</th>\n",
" <th id=\"T_dea2b_level0_col5\" class=\"col_heading level0 col5\" >url</th>\n",
" <th id=\"T_deaed_level0_col0\" class=\"col_heading level0 col0\" >cord_uid</th>\n",
" <th id=\"T_deaed_level0_col1\" class=\"col_heading level0 col1\" >source_x</th>\n",
" <th id=\"T_deaed_level0_col2\" class=\"col_heading level0 col2\" >title</th>\n",
" <th id=\"T_deaed_level0_col3\" class=\"col_heading level0 col3\" >abstract</th>\n",
" <th id=\"T_deaed_level0_col4\" class=\"col_heading level0 col4\" >authors</th>\n",
" <th id=\"T_deaed_level0_col5\" class=\"col_heading level0 col5\" >url</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_dea2b_level0_row0\" class=\"row_heading level0 row0\" >0</th>\n",
" <td id=\"T_dea2b_row0_col0\" class=\"data row0 col0\" >ug7v899j</td>\n",
" <td id=\"T_dea2b_row0_col1\" class=\"data row0 col1\" >PMC</td>\n",
" <td id=\"T_dea2b_row0_col2\" class=\"data row0 col2\" >Clinical features of culture-p...</td>\n",
" <td id=\"T_dea2b_row0_col3\" class=\"data row0 col3\" >OBJECTIVE: This retrospective ...</td>\n",
" <td id=\"T_dea2b_row0_col4\" class=\"data row0 col4\" >Madani, Tariq A; Al-Ghamdi, Ai...</td>\n",
" <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",
" <th id=\"T_deaed_level0_row0\" class=\"row_heading level0 row0\" >0</th>\n",
" <td id=\"T_deaed_row0_col0\" class=\"data row0 col0\" >ug7v899j</td>\n",
" <td id=\"T_deaed_row0_col1\" class=\"data row0 col1\" >PMC</td>\n",
" <td id=\"T_deaed_row0_col2\" class=\"data row0 col2\" >Clinical features of culture-p...</td>\n",
" <td id=\"T_deaed_row0_col3\" class=\"data row0 col3\" >OBJECTIVE: This retrospective ...</td>\n",
" <td id=\"T_deaed_row0_col4\" class=\"data row0 col4\" >Madani, Tariq A; Al-Ghamdi, Ai...</td>\n",
" <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",
" </tr>\n",
" <tr>\n",
" <th id=\"T_dea2b_level0_row1\" class=\"row_heading level0 row1\" >1</th>\n",
" <td id=\"T_dea2b_row1_col0\" class=\"data row1 col0\" >02tnwd4m</td>\n",
" <td id=\"T_dea2b_row1_col1\" class=\"data row1 col1\" >PMC</td>\n",
" <td id=\"T_dea2b_row1_col2\" class=\"data row1 col2\" >Nitric oxide: a pro-inflammato...</td>\n",
" <td id=\"T_dea2b_row1_col3\" class=\"data row1 col3\" >Inflammatory diseases of the r...</td>\n",
" <td id=\"T_dea2b_row1_col4\" class=\"data row1 col4\" >Vliet, Albert van der; Eiseric...</td>\n",
" <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",
" <th id=\"T_deaed_level0_row1\" class=\"row_heading level0 row1\" >1</th>\n",
" <td id=\"T_deaed_row1_col0\" class=\"data row1 col0\" >02tnwd4m</td>\n",
" <td id=\"T_deaed_row1_col1\" class=\"data row1 col1\" >PMC</td>\n",
" <td id=\"T_deaed_row1_col2\" class=\"data row1 col2\" >Nitric oxide: a pro-inflammato...</td>\n",
" <td id=\"T_deaed_row1_col3\" class=\"data row1 col3\" >Inflammatory diseases of the r...</td>\n",
" <td id=\"T_deaed_row1_col4\" class=\"data row1 col4\" >Vliet, Albert van der; Eiseric...</td>\n",
" <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",
" </tr>\n",
" <tr>\n",
" <th id=\"T_dea2b_level0_row2\" class=\"row_heading level0 row2\" >2</th>\n",
" <td id=\"T_dea2b_row2_col0\" class=\"data row2 col0\" >ejv2xln0</td>\n",
" <td id=\"T_dea2b_row2_col1\" class=\"data row2 col1\" >PMC</td>\n",
" <td id=\"T_dea2b_row2_col2\" class=\"data row2 col2\" >Surfactant protein-D and pulmo...</td>\n",
" <td id=\"T_dea2b_row2_col3\" class=\"data row2 col3\" >Surfactant protein-D (SP-D) pa...</td>\n",
" <td id=\"T_dea2b_row2_col4\" class=\"data row2 col4\" >Crouch, Erika C...</td>\n",
" <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",
" <th id=\"T_deaed_level0_row2\" class=\"row_heading level0 row2\" >2</th>\n",
" <td id=\"T_deaed_row2_col0\" class=\"data row2 col0\" >ejv2xln0</td>\n",
" <td id=\"T_deaed_row2_col1\" class=\"data row2 col1\" >PMC</td>\n",
" <td id=\"T_deaed_row2_col2\" class=\"data row2 col2\" >Surfactant protein-D and pulmo...</td>\n",
" <td id=\"T_deaed_row2_col3\" class=\"data row2 col3\" >Surfactant protein-D (SP-D) pa...</td>\n",
" <td id=\"T_deaed_row2_col4\" class=\"data row2 col4\" >Crouch, Erika C...</td>\n",
" <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",
" </tr>\n",
" <tr>\n",
" <th id=\"T_dea2b_level0_row3\" class=\"row_heading level0 row3\" >3</th>\n",
" <td id=\"T_dea2b_row3_col0\" class=\"data row3 col0\" >2b73a28n</td>\n",
" <td id=\"T_dea2b_row3_col1\" class=\"data row3 col1\" >PMC</td>\n",
" <td id=\"T_dea2b_row3_col2\" class=\"data row3 col2\" >Role of endothelin-1 in lung d...</td>\n",
" <td id=\"T_dea2b_row3_col3\" class=\"data row3 col3\" >Endothelin-1 (ET-1) is a 21 am...</td>\n",
" <td id=\"T_dea2b_row3_col4\" class=\"data row3 col4\" >Fagan, Karen A; McMurtry, Ivan...</td>\n",
" <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",
" <th id=\"T_deaed_level0_row3\" class=\"row_heading level0 row3\" >3</th>\n",
" <td id=\"T_deaed_row3_col0\" class=\"data row3 col0\" >2b73a28n</td>\n",
" <td id=\"T_deaed_row3_col1\" class=\"data row3 col1\" >PMC</td>\n",
" <td id=\"T_deaed_row3_col2\" class=\"data row3 col2\" >Role of endothelin-1 in lung d...</td>\n",
" <td id=\"T_deaed_row3_col3\" class=\"data row3 col3\" >Endothelin-1 (ET-1) is a 21 am...</td>\n",
" <td id=\"T_deaed_row3_col4\" class=\"data row3 col4\" >Fagan, Karen A; McMurtry, Ivan...</td>\n",
" <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",
" </tr>\n",
" <tr>\n",
" <th id=\"T_dea2b_level0_row4\" class=\"row_heading level0 row4\" >4</th>\n",
" <td id=\"T_dea2b_row4_col0\" class=\"data row4 col0\" >9785vg6d</td>\n",
" <td id=\"T_dea2b_row4_col1\" class=\"data row4 col1\" >PMC</td>\n",
" <td id=\"T_dea2b_row4_col2\" class=\"data row4 col2\" >Gene expression in epithelial ...</td>\n",
" <td id=\"T_dea2b_row4_col3\" class=\"data row4 col3\" >Respiratory syncytial virus (R...</td>\n",
" <td id=\"T_dea2b_row4_col4\" class=\"data row4 col4\" >Domachowske, Joseph B; Bonvill...</td>\n",
" <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",
" <th id=\"T_deaed_level0_row4\" class=\"row_heading level0 row4\" >4</th>\n",
" <td id=\"T_deaed_row4_col0\" class=\"data row4 col0\" >9785vg6d</td>\n",
" <td id=\"T_deaed_row4_col1\" class=\"data row4 col1\" >PMC</td>\n",
" <td id=\"T_deaed_row4_col2\" class=\"data row4 col2\" >Gene expression in epithelial ...</td>\n",
" <td id=\"T_deaed_row4_col3\" class=\"data row4 col3\" >Respiratory syncytial virus (R...</td>\n",
" <td id=\"T_deaed_row4_col4\" class=\"data row4 col4\" >Domachowske, Joseph B; Bonvill...</td>\n",
" <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",
" </tr>\n",
" </tbody>\n",
"</table>\n"
],
"text/plain": [
"<pandas.io.formats.style.Styler at 0x7f0ca0a41ff0>"
"<pandas.io.formats.style.Styler at 0x7f44dba3b3d0>"
]
},
"execution_count": 6,
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
12 changes: 6 additions & 6 deletions 04-Complex-Docs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "15f6044e-463f-4988-bc46-a3c3d641c15c",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -75,7 +75,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "331692ba-b68e-4b99-9bae-5057da9a389d",
"metadata": {},
"outputs": [],
Expand All @@ -86,7 +86,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "594ff0d4-56e3-4bed-843d-28c7a092069b",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -114,7 +114,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "0999e24b-6a75-4fa1-9a5f-426cf0f0bdba",
"metadata": {},
"outputs": [],
Expand All @@ -136,15 +136,15 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 8,
"id": "3554f0b7-fee8-4446-a155-5d22dc0f0888",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 5/5 [00:25<00:00, 5.20s/it]\n"
"100%|██████████| 5/5 [00:27<00:00, 5.44s/it]\n"
]
}
],
Expand Down
5 changes: 2 additions & 3 deletions credentials.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ BING_SEARCH_URL="https://api.bing.microsoft.com/v7.0/search"
BOT_DIRECT_CHANNEL_ENDPOINT="https://directline.botframework.com/v3/directline"

# Demo Data (edit with your own if you want to use your own data)
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"
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"
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"
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"

# Edit with your own azure services values

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

0 comments on commit d4e7474

Please sign in to comment.