Prerequisites

Set up your environment to use W&B Inference

Complete these steps before using the W&B Inference service through the API or UI.

Set up your W&B account and project

You need these items to access W&B Inference:

  1. A W&B account
    Sign up at W&B

  2. A W&B API key
    Get your API key at https://wandb.ai/authorize

  3. A W&B project
    Create a project in your W&B account to track usage

Set up your environment (Python)

To use the Inference API with Python, you also need to:

  1. Complete the general requirements above

  2. Install the required libraries:

    pip install openai weave
    

Next steps

After completing the prerequisites: