MicrosoftLearning / mslearn-ai-language

Lab files for Azure AI Language modules
https://microsoftlearning.github.io/mslearn-ai-language/
MIT License
133 stars 288 forks source link

Variable not defined error in Create a Question Answering Solution exercise (02-qna) #17

Closed SDSTony closed 11 months ago

SDSTony commented 11 months ago

When going through the Add code to the application in Create a Question Answering Solution exercise, the variables ai_project_name and ai_deployment_name don't exist because in the given qna-app.py file the config variables are currently defined as project_name and deployment_name.

image https://github.com/MicrosoftLearning/mslearn-ai-language/blob/main/Instructions/Exercises/02-qna.md

image https://github.com/MicrosoftLearning/mslearn-ai-language/blob/main/Labfiles/02-qna/Python/qna-app/qna-app.py

Need to update the config variables in the qna-app.py.