In order to invoke Azure AI methods, you’ll need to instantiate a Model Client. You have two ways of instantiating a Model ClientDocumentation Index
Fetch the complete documentation index at: https://statsig-4b2ff144-mintlify-seo-metadata-1777910999.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Option 1: (Recommended) Using Statsig Dynamic Config
Using Statsig’s Dynamic Config is a clean way to configure your AI Client, which provides maximum flexibility in being able to adjust the AI invocation parameters and even the endpoint without needing to modify code. In your Statsig console, create a new Dynamic Config by going to: https://console.statsig.com/dynamic_configs, and clicking on Create button.

- NodeJS
- Python
- .NET
Option 2: Using hard-coded endpoint and key
This is the most direct way of instantiating an AI model client. However, this would mean you’ll have to embed the endpoint and key in your code, or use another way (like an environment variable) to get the model endpoint and key into the process.- NodeJS
- Python
- .NET