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

# Microsoft Azure

> Weave를 Microsoft Azure OpenAI 서비스와 통합하세요

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

<Tip>
  최신 튜토리얼은 [Microsoft Azure용 Weights & Biases](https://wandb.ai/site/partners/azure)에서 확인하세요.
</Tip>

<div id="getting-started">
  ## 시작하기
</div>

Weave로 Azure를 사용하기 시작하려면 추적하려는 함수에 `weave.op` 데코레이터를 적용하면 됩니다.

```python lines theme={null}
@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}

```

<div id="learn-more">
  ## 더 알아보기
</div>

Weave로 Azure 고급 주제에 대해 자세히 알아보려면 아래 리소스를 참고하세요.

<div id="use-the-azure-ai-model-inference-api-with-weave">
  ### Weave로 Azure AI Model Inference API 사용하기
</div>

[이 가이드](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 AI Model Inference API]를 사용해 Azure 모델에 대한 인사이트를 얻는 방법을 알아보세요.

<div id="trace-azure-openai-models-with-weave">
  ### Weave로 Azure OpenAI 모델 트레이스하기
</div>

[이 가이드](https://wandb.ai/a-sh0ts/azure-weave-cookbook/reports/How-to-use-Azure-OpenAI-and-Azure-AI-Studio-with-W-B-Weave--Vmlldzo4MTI0NDgy)에서 Weave를 사용해 Azure OpenAI 모델을 트레이스하는 방법을 알아보세요.
