W&B 계정 및 프로젝트 설정
W&B Inference에 액세스하려면 다음 항목들이 필요합니다:-
W&B 계정
W&B에서 가입하세요. -
W&B API 키
To create an API key, select the Personal API key or Service Account API key tab for details.
For secure storage options, see Store API keys securely.
- Personal API key
- Service account API key
To create a personal API key owned by your user ID:- Log in to W&B, click your user profile icon, then click User Settings.
- Click Create new API key.
- Provide a descriptive name for your API key.
- Click Create.
- Copy the displayed API key immediately and store it securely.
-
W&B 프로젝트
사용량을 추적하기 위해 W&B 계정에서 프로젝트를 생성하세요.
환경 설정 (Python)
Python으로 Inference API를 사용하려면 다음 사항도 필요합니다:- 위의 일반 요구 사항을 완료하세요.
-
필수 라이브러리를 설치하세요:
참고
weave 라이브러리는 선택 사항이지만 권장됩니다. 이를 통해 LLM 애플리케이션을 추적할 수 있습니다. 자세한 내용은 Weave 퀵스타트에서 확인하세요.W&B Inference와 Weave를 함께 사용하는 코드 예제는 사용 예시를 참조하세요.