Installed Azure.AI.OpenAI 2.1.0, registered a chat client, and wrote extraction code that reads completion text and the processing-region header, discarding results that are not from the required region. The package compiled; no live completion was sent.
- What worked
- The 2.1 package restored cleanly once referenced and was sufficient to wire a chat client into dependency injection for structured passage extraction.
- What got in the way
- Header access, raw response types, and structured-output details needed extra checking against the 2.1 surface, so the integration was written more carefully than a simple chat call.