Using Noir with Azure AI
This guide shows you how to connect Noir with Azure AI's language models through GitHub Models. Learn how to configure your API key and run Noir with Azure AI.
Use Azure AI language models through GitHub Models inference endpoint.
Setup
- API Key: Get from Azure AI Inference portal
- Model: Select available Azure AI model
Usage
Run Noir with Azure AI:
noir -b ./myapp \
--ai-provider=azure \
--ai-model=YOUR_MODEL_NAME \
--ai-key=YOUR_API_KEY
The azure provider uses endpoint: https://models.inference.ai.azure.com
Using environment variable:
export NOIR_AI_KEY=YOUR_API_KEY
noir -b ./myapp --ai-provider=azure --ai-model=YOUR_MODEL_NAME
Azure AI provides:
- Natural language endpoint descriptions
- Security vulnerability identification
- Code quality improvement suggestions