A Solution Accelerator for the RAG pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences. This includes most common requirements and best practices.
The test_raises_exception_if_bad_response_code test in code/tests/utilities/helpers/test_azure_computer_vision_client.py fails intermittently. The use of time.sleep(0.3) in the previous test, test_vectorize_image_calls_computer_vision_timeout, is causing the issue. Therefore, we have updated the test case to remove time.sleep, ensuring that all tests now pass consistently.
Does this introduce a breaking change?
[ ] Yes
[x ] No
How to Test
Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
Purpose
The test_raises_exception_if_bad_response_code test in code/tests/utilities/helpers/test_azure_computer_vision_client.py fails intermittently. The use of time.sleep(0.3) in the previous test, test_vectorize_image_calls_computer_vision_timeout, is causing the issue. Therefore, we have updated the test case to remove time.sleep, ensuring that all tests now pass consistently.
Does this introduce a breaking change?
How to Test