wandb/weave

The OpenAI monitor example notebook failed at init_monitor

Closed this issue · 2 comments

kylehh commented

https://github.com/wandb/weave/blob/master/examples/monitoring/openai_client_quickstart.ipynb

I was trying to test out this notebook but always failed at init_monitor step

from weave.monitoring import openai, init_monitor
m = init_monitor(f"{WB_ENTITY}/{WB_PROJECT}/{STREAM_NAME}")

with error msg below. Even though I set API_KEY properly

403 response executing GraphQL.
{"errors":[{"message":"permission denied","path":["upsertModel"],"extensions":{"code":"PERMISSION_ERROR"}}],"data":{"upsertModel":null}}
wandb: ERROR Error while calling W&B API: permission denied (<Response [403]>)
Monitoring disabled because WANDB_API_KEY is not set.
Couldn't find W&B API key, disabling monitoring.
Set the WANDB_API_KEY env variable to enable monitoring.

I can run wand.login() with my API key, not sure why this step always failed

Thank you for the issue @kylehh - and appreciate our slack call! For posterity: the notebook runs successfully when running from colab in a W&B authenticated browser, but not locally for this user. I will try to repro and followup with details.

Hello - thank you for your issue. As part of our effort to cleanup issues in the Weave repository, I am closing this due to inactivity. We can reopen if applicable in the future.