wandb / weave

Weave is a toolkit for developing AI-powered applications, built by Weights & Biases.
https://wandb.me/weave
Apache License 2.0
674 stars 52 forks source link

feat: make get_current_call a top level API #1848

Closed jamie-rasmussen closed 3 months ago

jamie-rasmussen commented 3 months ago

Makes get_current_call a top level API so you can just write weave.get_current_call inside an op instead of weave.call_context.get_current_call.

Also adds a docstring and includes it (and another missing recently added method, finish) in the list for API autodoc.

circle-job-mirror[bot] commented 3 months ago

Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=cefb1ee87c7f6633c7531fe0599f3716d2b9c534