You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix model list output, indicate project is optional (#1613)
Description
-----------
- Team/project is now optional, fix several mentions of it being
required.
- The chat completions output was appearing below the models list API.
Move it to proper place and heading level, and add an example of model
list API output.
<!-- preview-links-comment -->
📄 **[View preview links for changed
pages](#1613 (comment)
---------
Co-authored-by: John Mulhausen <john.mulhausen@wandb.com>
W&B Inference credits come with Free, Pro, and Academic plans for a limited time. Availability may vary for Enterprise accounts. When credits run out:
55
55
56
-
-**Free users** must upgrade to a paid plan to continue using Inference.
56
+
-**Free users** must upgrade to a paid plan to continue using Inference.
57
57
[Upgrade to Pro or Enterprise](https://wandb.ai/subscriptions)
58
58
-**Pro users** are billed monthly for usage beyond free credits, up to a default cap of $6,000/month. See [Account tiers and default usage caps]({{< relref "usage-limits#account-tiers-and-default-usage-caps" >}})
59
59
-**Enterprise usage** is capped at $700,000/year. Your account executive handles billing and limit increases. See [Account tiers and default usage caps]({{< relref "usage-limits#account-tiers-and-default-usage-caps" >}})
60
60
61
61
To learn more, visit the [pricing page](https://wandb.ai/site/pricing/) or see [model-specific costs](https://wandb.ai/site/pricing/inference).
In code samples, these appear as `<your-team>/<your-project>`.
28
+
If you belong to more than one team or want to attribute your usage to a project you will also need team and project IDs. In code samples, these appear as `<your-team>/<your-project>`. Your default entity and the project name `inference` will be used if unspecified.
30
29
{{< /alert >}}
31
30
32
31
## Available methods
@@ -40,7 +39,7 @@ Create a chat completion using the `/chat/completions` endpoint. This endpoint f
40
39
To create a chat completion, provide:
41
40
- The Inference service base URL: `https://api.inference.wandb.ai/v1`
42
41
- Your W&B API key: `<your-api-key>`
43
-
- Your W&B entity and project: `<your-team>/<your-project>`
42
+
-Optional: Your W&B team and project: `<your-team>/<your-project>`
44
43
- A model ID from the [available models]({{< relref "models" >}})
45
44
46
45
{{< tabpane text=true >}}
@@ -74,7 +73,7 @@ client = openai.OpenAI(
74
73
# Consider setting it in the environment as OPENAI_API_KEY instead for safety
75
74
api_key="<your-api-key>",
76
75
77
-
# Team and project are required for usage tracking
0 commit comments