Bug description
The latest version of the code on the main branch does not restrict the search to document domain only but responds to any type of question.
It seems that the code is ignoring the environment variable AZURE_SEARCH_ENABLE_IN_DOMAIN set True.
Screenshots
Configuration:
Azure OpenAI model name and version: gpt-4-32k, version 0613
Bug description The latest version of the code on the main branch does not restrict the search to document domain only but responds to any type of question. It seems that the code is ignoring the environment variable AZURE_SEARCH_ENABLE_IN_DOMAIN set True.
Screenshots![image](https://github.com/microsoft/sample-app-aoai-chatGPT/assets/161703515/f876d84b-54bd-4e77-903d-ea48fe97c3af)
Configuration: