init
weave • Docs
weave / init
Function: init()
init(
project
,settings
?):Promise
<WeaveClient
>
Initialize the Weave client, which is required for weave tracing to work.
Parameters
• project: string
The W&B project name (can be project or entity/project).
• settings?: Settings
(Optional) Weave tracing settings
Returns
Promise
<WeaveClient
>
A promise that resolves to the initialized Weave client.
Throws
If the initialization fails