Skip to main content
Weave 클라이언트를 초기화합니다. 트레이싱이 동작하려면 반드시 필요합니다.

Parameters

string
필수
W&B 프로젝트 이름입니다(project 또는 entity/project 형식일 수 있습니다). W&B 팀(예: team/project)을 지정하지 않으면 기본 entity가 사용됩니다. 기본 entity를 확인하거나 업데이트하려면 User Settingshttps://docs.wandb.ai/platform/app/settings-page/user-settings#default-teamt-team 를 참고하세요
Partial<{…}>
(선택) 트레이싱 설정Full type: Partial<{ attributes: Record<string, any>; genai: { batchOptions?: BufferConfig; spanProcessor?: "batch" | "simple" | SpanProcessor; }; printCallLink: boolean; useCallsComplete: boolean; useOTelV2: boolean; }>

반환값

Promise<WeaveClient> 초기화된 Weave 클라이언트로 해석되는 Promise입니다.

예외 발생

초기화에 실패한 경우