> ## 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.

# Microsoft Azure

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

Weights & Biases (W\&B) Weave는 Microsoft Azure OpenAI 서비스와 통합되어 Azure AI 애플리케이션을 최적화할 수 있도록 지원합니다. 이 페이지에서는 Weave로 Azure OpenAI Call 추적을 시작하는 방법과 더 고급 워크플로를 위한 추가 리소스를 안내합니다.

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

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

Weave로 Azure OpenAI Call 추적을 시작하려면 추적하려는 함수에 `weave.op` 데코레이터를 적용하세요. 데코레이터를 적용하면 Weave가 함수가 호출될 때마다 입력, 출력, 메타데이터를 자동으로 캡처합니다.

```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>

[Weave로 Azure AI Model Inference API를 사용해 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-)을 알아보세요.

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

[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).
