> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-feature-automate-reference-docs-generation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure

Weights & Biases (W\&B) Weave는 Microsoft Azure OpenAI 서비스와 통합되어 팀이 Azure AI 애플리케이션을 최적화하는 데 도움을 줍니다. W\&B를 사용하면

<Tip>
  최신 튜토리얼은 다음을 방문하세요 [Microsoft Azure에서의 Weights & Biases](https://wandb.ai/site/partners/azure).
</Tip>

## 시작하기

Azure와 Weave를 사용하여 시작하려면, 추적하고 싶은 함수에 간단히 데코레이터를 적용하세요 `weave.op`.

```python
@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}

```

## 더 알아보기

아래 리소스를 사용하여 고급 Azure와 Weave 주제에 대해 더 알아보세요.

### Weave와 함께 Azure AI 모델 추론 API 사용하기

\[Azure AI 모델 추론 API]를 Weave와 함께 사용하여 Azure 모델에 대한 인사이트를 얻는 방법을 [이 가이드에서](https://wandb.ai/byyoung3/ML-NEWS2/reports/A-guide-to-using-the-Azure-AI-model-inference-API--Vmlldzo4OTY1MjEy#tutorial:-implementing-azure-ai-model-inference-api-with-w\&b-weave-).

### Weave로 Azure OpenAI 모델 추적하기

Weave를 사용하여 Azure OpenAI 모델을 추적하는 방법을 [이 가이드에서](https://wandb.ai/a-sh0ts/azure-weave-cookbook/reports/How-to-use-Azure-OpenAI-and-Azure-AI-Studio-with-W-B-Weave--Vmlldzo4MTI0NDgy).
