Microsoft Azure

no
Summary: Integrate Weave with Microsoft Azure OpenAI services

Original Documentation

Documentation Index#

Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt Use this file to discover all available pages before exploring further.

Integrate Weave with Microsoft Azure OpenAI services

Weights & Biases (W&B) Weave integrates with Microsoft Azure OpenAI services, helping teams to optimize their Azure AI applications. Using W&B, you can

For the latest tutorials, visit Weights & Biases on Microsoft Azure.

Getting started#

To get started using Azure with Weave, simply decorate the function(s) you want to track with weave.op.

@weave.op()
def call_azure_chat(model_id: str, messages: list, max_tokens: int = 1000, temperature: float = 0.5):
    response = client.chat.completions.create(
        model=model_id,
        messages=messages,
        max_tokens=max_tokens,
        temperature=temperature
    )
    return {"status": "success", "response": response.choices[0].message.content}

Learn more#

Learn more about advanced Azure with Weave topics using the resources below.

Use the Azure AI Model Inference API with Weave#

Learn how to use the [Azure AI Model Inference API] with Weave to gain insights into Azure models in this guide.

Trace Azure OpenAI models with Weave#

Learn how to trace Azure OpenAI models using Weave in this guide.

Link last verified June 7, 2026. View original ↗
Source: Weights & Biases Docs
Link last verified: 2026-03-04