Closed frtibble closed 1 week ago
As described in #561, the placeholder values used in AZURE_FUNCTION_URL need updating. The current URL value uses <DEPLOYMENT_PREFIX>-backend.
AZURE_FUNCTION_URL
<DEPLOYMENT_PREFIX>-backend
However, our function name now uses the formatting: https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/blob/3705186528decdbcfc711f0e0ca3d4206d50f272/infra/main.bicep#L214
This PR updates the documentation and .env files to reflect this.
.env
Fixes #561
What kind of change does this Pull Request introduce?
n/a
Coverage Report FileStmtsMissCoverMissingcode app.py14140%1–4, 6–7, 9, 12–14, 16, 18, 20–21 create_app.py148397%199, 204, 327code/backend Admin.py23230%1–6, 9, 11, 13–14, 16, 19–20, 22–23, 26, 33, 40, 43–45, 47, 49code/backend/batch AddURLEmbeddings.py29293%37–38 BatchPushResults.py31196%53 BatchStartProcessing.py190100% GetConversationResponse.py32390%63–65 function_app.py16160%1–8, 10, 12–13, 15, 18–21code/backend/batch/utilities/common Answer.py24195%39 SourceDocument.py59493%33, 37, 41, 130code/backend/batch/utilities/document_chunking DocumentChunkingBase.py10280%10, 16 FixedSizeOverlap.py190100% Layout.py190100% Page.py170100% Paragraph.py990%1–4, 7–9, 12, 15 Strategies.py29582%24–25, 27, 29, 46 __init__.py70100% code/backend/batch/utilities/document_loading DocumentLoadingBase.py9188%13 Layout.py12120%1–4, 7–9, 11–13, 16, 25 Read.py12120%1–4, 7–9, 11–13, 16, 25 Strategies.py20860%13, 15, 17, 19, 24–25, 27, 29 Web.py19194%23 WordDocument.py25250%1–6, 9–12, 21–24, 26–27, 29–30, 32–37, 45 __init__.py15193%16code/backend/batch/utilities/helpers AzureBlobStorageClient.py803062%22–24, 32, 52, 55–56, 61, 65, 90–91, 93, 97, 153, 156, 175, 178, 180, 188–192, 215, 219–223, 225 AzureFormRecognizerHelper.py81810%1–6, 9–11, 13, 16–17, 25, 27, 35, 43–45, 52–55, 60–68, 70, 73–75, 77–78, 81, 84–86, 88–90, 93, 97–98, 105–109, 111–114, 117–131, 133, 135–137, 139–140, 143, 145–147 AzureSearchHelper.py200100% ConfigHelper.py1150100% DocumentChunkingHelper.py12191%21 DocumentLoadingHelper.py12191%14 DocumentProcessorHelper.py601673%40, 52–59, 63–66, 86–88 EnvHelper.py1271092%208, 213–214, 217–219, 228, 232–234 LLMHelper.py401172%40–41, 50, 61–62, 73, 86–87, 94, 104, 112 OrchestratorHelper.py12466%20–22, 25code/backend/batch/utilities/integrated_vectorization AzureSearchDatasource.py190100% AzureSearchIndex.py350100% AzureSearchIndexer.py20290%47–48 AzureSearchSkillset.py200100% code/backend/batch/utilities/loggers ConversationLogger.py362822%8, 11–12, 15–24, 27–30, 33–42, 46 TokenLogger.py9277%11, 15code/backend/batch/utilities/orchestrator LangChainAgent.py601968%21–24, 26, 61–62, 82–85, 102–103, 106–109, 116–117 OpenAIFunctions.py54540%1–3, 5–10, 12, 15–18, 53, 57–59, 62, 64, 70–73, 75, 78, 85–89, 93–94, 96, 102–106, 110–112, 115, 118–119, 122, 127–129, 132–134, 137, 142 OrchestratorBase.py52884%35, 74–76, 83–85, 95 SemanticKernel.py520100% Strategies.py161037%11–12, 14–16, 18–20, 22, 24 __init__.py110100% code/backend/batch/utilities/parser OutputParserTool.py390100% ParserBase.py9277%9, 19 __init__.py7271%7, 11code/backend/batch/utilities/plugins ChatPlugin.py150100% PostAnsweringPlugin.py80100% code/backend/batch/utilities/search AzureSearchHandler.py40197%13 IntegratedVectorizationSearchHandler.py430100% Search.py32390%15, 20–21 SearchHandlerBase.py29872%11, 15, 19, 23, 27, 31, 35, 39code/backend/batch/utilities/tools AnswerProcessingBase.py8275%8, 12 AnsweringToolBase.py9277%9, 15 ContentSafetyChecker.py412539%16, 18–19, 24, 30–32, 35–36, 42–43, 49–54, 57–59, 61, 65–67, 69 PostPromptTool.py221340%11, 14–15, 17–18, 22, 29, 36–37, 45, 51–52, 60 QuestionAnswerTool.py620100% TextProcessingTool.py16943%9, 12–15, 21, 23, 30, 37code/backend/pages 01_Ingest_Data.py88880%1–12, 14–16, 18, 24, 31, 34–35, 38–47, 51–53, 56–59, 61, 64, 67–73, 76–79, 82–89, 92–94, 96, 99–102, 105, 110–112, 114–115, 117–118, 121–122, 126, 129–130, 136–139, 146–147, 152, 158–159 02_Explore_Data.py26260%1–7, 9–10, 12, 18, 25, 28, 36, 38–39, 41–44, 46–49, 52–53 03_Delete_Data.py37370%1–7, 9–11, 13, 19, 26, 29, 37, 39–41, 43–46, 48, 50–51, 55, 59–63, 65, 68–69, 71–73 04_Configuration.py1251250%1–9, 11, 13, 15, 22, 29, 31, 36–45, 48–49, 52–63, 65–66, 76–80, 83–84, 88–90, 93–94, 97–98, 101–102, 125, 127–128, 130–134, 136–139, 142–146, 153–154, 164–166, 168, 188–189, 191, 193, 199, 207, 215, 222–223, 230, 232–233, 237, 245, 251, 258, 276–277, 294–295, 299, 301–302, 319, 348–349, 351–352, 355–356, 359–362, 364–365, 367–369, 371–374, 376–377TOTAL221676365%
Purpose
As described in #561, the placeholder values used in
AZURE_FUNCTION_URL
need updating. The current URL value uses<DEPLOYMENT_PREFIX>-backend
.However, our function name now uses the formatting: https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/blob/3705186528decdbcfc711f0e0ca3d4206d50f272/infra/main.bicep#L214
This PR updates the documentation and
.env
files to reflect this.Fixes #561
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
n/a