Giskard LLM-as-a-judge fails on Azure OpenAI: Must provide an engine or deployment_id

Running a Giskard LLM-as-a-judge test on an Azure OpenAI model fails with Must provide an 'engine' or 'deployment_id' parameter to create a [class 'openai.api_resources.chat_completion.ChatCompletion'], even though deployment_name is set on AzureChatOpenAI. The user's own QA chain runs fine; only the Giskard test execution fails.

Cause: Giskard's scan evaluates generated answers through its own internal OpenAI client, which read your OPENAI_* environment variables and ignored your Azure config, hence the missing engine/deploymentid. The fix was Azure support for the scan: set `AZUREOPENAIAPIKEY, AZUREOPENAIENDPOINT, OPENAIAPIVERSION, and GISKARDSCANLLM_MODEL` (see the maintainer's PR linked on the issue). Note the judge still needs a function-calling-capable model, so GPT-4 is recommended.

Source: https://github.com/Giskard-AI/giskard-oss/issues/1614

Source: https://github.com/Giskard-AI/giskard-oss/issues/1614