diff --git a/.gitignore b/.gitignore index ee3dd32b..f8e77cdd 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,6 @@ data/ credentials.env .azure/ .vscode/ -infra/target/ \ No newline at end of file +infra/target/ +apps/frontend/frontend.zip +apps/backend/backend.zip diff --git a/01-Load-Data-ACogSearch.ipynb b/01-Load-Data-ACogSearch.ipynb index a7446280..35eb3db0 100644 --- a/01-Load-Data-ACogSearch.ipynb +++ b/01-Load-Data-ACogSearch.ipynb @@ -255,52 +255,52 @@ " }\n", " ]\n", " },\n", - " {\n", - " \"@odata.type\": \"#Microsoft.Skills.Text.KeyPhraseExtractionSkill\",\n", - " \"context\": \"/document/pages/*\",\n", - " \"maxKeyPhraseCount\": 2,\n", - " \"defaultLanguageCode\": \"en\",\n", - " \"inputs\": [\n", - " {\n", - " \"name\": \"text\", \n", - " \"source\": \"/document/pages/*\"\n", - " }\n", - " ],\n", - " \"outputs\": [\n", - " {\n", - " \"name\": \"keyPhrases\",\n", - " \"targetName\": \"keyPhrases\"\n", - " }\n", - " ]\n", - " },\n", - " {\n", - " \"@odata.type\": \"#Microsoft.Skills.Text.V3.EntityRecognitionSkill\",\n", - " \"context\": \"/document/pages/*\",\n", - " \"categories\": [\"Person\", \"URL\", \"Email\"],\n", - " \"minimumPrecision\": 0.5, \n", - " \"defaultLanguageCode\": \"en\",\n", - " \"inputs\": [\n", - " {\n", - " \"name\": \"text\", \n", - " \"source\":\"/document/pages/*\"\n", - " }\n", - " ],\n", - " \"outputs\": [\n", - " {\n", - " \"name\": \"persons\", \n", - " \"targetName\": \"persons\"\n", - " },\n", - " {\n", - " \"name\": \"urls\", \n", - " \"targetName\": \"urls\"\n", - " },\n", - " {\n", - " \"name\": \"emails\", \n", - " \"targetName\": \"emails\"\n", - " }\n", - " ]\n", - " }\n", - " ],\n", + " # {\n", + " # \"@odata.type\": \"#Microsoft.Skills.Text.KeyPhraseExtractionSkill\",\n", + " # \"context\": \"/document/pages/*\",\n", + " # \"maxKeyPhraseCount\": 2,\n", + " # \"defaultLanguageCode\": \"en\",\n", + " # \"inputs\": [\n", + " # {\n", + " # \"name\": \"text\", \n", + " # \"source\": \"/document/pages/*\"\n", + " # }\n", + " # ],\n", + " # \"outputs\": [\n", + " # {\n", + " # \"name\": \"keyPhrases\",\n", + " # \"targetName\": \"keyPhrases\"\n", + " # }\n", + " # ]\n", + " # },\n", + " # {\n", + " # \"@odata.type\": \"#Microsoft.Skills.Text.V3.EntityRecognitionSkill\",\n", + " # \"context\": \"/document/pages/*\",\n", + " # \"categories\": [\"Person\", \"URL\", \"Email\"],\n", + " # \"minimumPrecision\": 0.5, \n", + " # \"defaultLanguageCode\": \"en\",\n", + " # \"inputs\": [\n", + " # {\n", + " # \"name\": \"text\", \n", + " # \"source\":\"/document/pages/*\"\n", + " # }\n", + " # ],\n", + " # \"outputs\": [\n", + " # {\n", + " # \"name\": \"persons\", \n", + " # \"targetName\": \"persons\"\n", + " # },\n", + " # {\n", + " # \"name\": \"urls\", \n", + " # \"targetName\": \"urls\"\n", + " # },\n", + " # {\n", + " # \"name\": \"emails\", \n", + " # \"targetName\": \"emails\"\n", + " # }\n", + " # ]\n", + " # }\n", + " # ],\n", " \"cognitiveServices\": {\n", " \"@odata.type\": \"#Microsoft.Azure.Search.CognitiveServicesByKey\",\n", " \"description\": os.environ['COG_SERVICES_NAME'],\n", diff --git a/credentials.env b/credentials.env index ae51d9ce..5ecbde28 100644 --- a/credentials.env +++ b/credentials.env @@ -4,7 +4,7 @@ AZURE_OPENAI_API_VERSION="2023-05-15" BING_SEARCH_URL = "https://api.bing.microsoft.com/v7.0/search" # 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=b&srt=sco&sp=rl&se=2026-01-03T02:11:44Z&st=2024-01-02T18:11:44Z&spr=https&sig=ngrEqvqBVaxyuSYqgPVeF%2B9c0fXLs94v3ASgwg7LDBs%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=2026-01-03T02:11:44Z&st=2024-01-02T18:11:44Z&spr=https&sig=ngrEqvqBVaxyuSYqgPVeF%2B9c0fXLs94v3ASgwg7LDBs%3D" # Edit with your own azure services values