메인 콘텐츠로 건너뛰기
API 또는 UI를 통해 W&B Inference 서비스를 사용하기 전에 다음 단계를 완료하세요.
시작하기 전에, 비용 및 제한 사항을 이해하기 위해 사용 정보 및 제한을 검토하세요.

W&B 계정 및 프로젝트 설정

W&B Inference에 액세스하려면 다음 항목들이 필요합니다:
  1. W&B 계정
    W&B에서 가입하세요.
  2. W&B API 키 To create an API key, select the Personal API key or Service Account API key tab for details.
    To create a personal API key owned by your user ID:
    1. Log in to W&B, click your user profile icon, then click User Settings.
    2. Click Create new API key.
    3. Provide a descriptive name for your API key.
    4. Click Create.
    5. Copy the displayed API key immediately and store it securely.
    The full API key is only shown once at creation time. After you close the dialog, you cannot view the full API key again. Only the key ID (first part of the key) is visible in your settings. If you lose the full API key, you must create a new API key.
    For secure storage options, see Store API keys securely.
  3. W&B 프로젝트
    사용량을 추적하기 위해 W&B 계정에서 프로젝트를 생성하세요.

환경 설정 (Python)

Python으로 Inference API를 사용하려면 다음 사항도 필요합니다:
  1. 위의 일반 요구 사항을 완료하세요.
  2. 필수 라이브러리를 설치하세요:
    pip install openai weave
    
참고weave 라이브러리는 선택 사항이지만 권장됩니다. 이를 통해 LLM 애플리케이션을 추적할 수 있습니다. 자세한 내용은 Weave 퀵스타트에서 확인하세요.W&B Inference와 Weave를 함께 사용하는 코드 예제는 사용 예시를 참조하세요.

다음 단계

사전 요구 사항을 완료한 후:
  • 사용 가능한 엔드포인트에 대해 알아보려면 API 레퍼런스를 확인하세요.
  • 서비스 작동 방식을 확인하려면 사용 예시를 시도해 보세요.
  • 웹 인터페이스를 통해 모델에 액세스하려면 UI 가이드를 사용하세요.