Export
Setup
[2]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 473.7/473.7 kB 14.9 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 590.6/590.6 kB 34.5 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 325.8/325.8 kB 25.0 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 203.2/203.2 kB 15.2 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.3/74.3 kB 7.4 MB/s eta 0:00:00
[3]
Enter your OpenAI API Key: ··········
[4]
Please login to Weights & Biases (https://wandb.ai/) to continue:
wandb: Using wandb-core as the SDK backend. Please refer to https://wandb.me/wandb-core for more information.
<IPython.core.display.Javascript object>
wandb: Logging into wandb.ai. (Learn how to deploy a W&B server locally: https://wandb.me/wandb-server) wandb: You can find your API key in your browser here: https://wandb.ai/authorize?ref=weave wandb: Paste an API key from your profile and hit enter:
··········
wandb: WARNING If you're specifying your api key in code, ensure this code is not shared publicly. wandb: WARNING Consider setting the WANDB_API_KEY environment variable, or running `wandb login` from the command line. wandb: No netrc file found, creating one. wandb: Appending key for api.wandb.ai to your netrc file: /root/.netrc wandb: Currently logged in as: ayut to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
Logged in as Weights & Biases user: ayut. View Weave data at https://wandb.ai/ayut/dspy-demo/weave
Sentiment classification
[5]
🍩 https://wandb.ai/ayut/dspy-demo/r/call/01964900-a8cb-7ba3-ac4c-9b5db7cae088
Prediction( , sentiment='positive' ,)
Track DSPy Modules and Signatures
[6]
🍩 https://wandb.ai/ayut/dspy-demo/r/call/01964901-6942-7ef0-bd9c-fa75090a259f