Fix outdated beta.openai.com URLs in examples and articles#2590
Fix outdated beta.openai.com URLs in examples and articles#2590Chessing234 wants to merge 1 commit intoopenai:mainfrom
Conversation
Replace deprecated beta.openai.com links with the current platform.openai.com equivalents across four files: - articles/text_comparison_examples.md (embeddings guide link) - examples/dalle/Image_generations_edits_and_variations_with_DALL-E.ipynb (usage-policies/end-user-ids links x3) - examples/How_to_stream_completions.ipynb (usage-guidelines link) - examples/How_to_count_tokens_with_tiktoken.ipynb (tokenizer link) The beta.openai.com domain has long since been retired in favor of platform.openai.com, so these links currently redirect or 404. Signed-off-by: Taksh <takshkothari09@gmail.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 19d4364dac
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "## Downsides\n", | ||
| "\n", | ||
| "Note that using `stream=True` in a production application makes it more difficult to moderate the content of the completions, as partial completions may be more difficult to evaluate. This may have implications for [approved usage](https://beta.openai.com/docs/usage-guidelines).\n", | ||
| "Note that using `stream=True` in a production application makes it more difficult to moderate the content of the completions, as partial completions may be more difficult to evaluate. This may have implications for [approved usage](https://platform.openai.com/docs/usage-policies).\n", |
There was a problem hiding this comment.
Replace 404 usage-policies link in streaming notebook
The new https://platform.openai.com/docs/usage-policies target is not a valid docs page (it currently returns a "Page not found" response), so this change leaves users with a broken link when they click "approved usage" in the Downsides section. Please point this to a live policy/safety URL instead (for example the OpenAI usage policies page or a current safety guide).
Useful? React with 👍 / 👎.
| "- `size` (str): The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024 for dall-e-2. Must be one of 1024x1024, 1792x1024, or 1024x1792 for dall-e-3 models. Defaults to \"1024x1024\".\n", | ||
| "- `style`(str | null): The style of the generated images. Must be one of vivid or natural. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images. This param is only supported for dall-e-3.\n", | ||
| "- `user` (str): A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse. [Learn more.](https://beta.openai.com/docs/usage-policies/end-user-ids)" | ||
| "- `user` (str): A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse. [Learn more.](https://platform.openai.com/docs/usage-policies/end-user-ids)" |
There was a problem hiding this comment.
Fix end-user IDs link to a non-existent docs route
This replacement points to https://platform.openai.com/docs/usage-policies/end-user-ids, which does not resolve to a valid docs page (404), so readers following "Learn more" still hit a broken link in the DALL-E parameter docs. Use a live destination for end-user ID guidance (for example the current safety best-practices docs section).
Useful? React with 👍 / 👎.
Summary
beta.openai.comlinks with the currentplatform.openai.comequivalents across four filesbeta.openai.comdomain has been retired; these links currently redirect or 404Files changed
articles/text_comparison_examples.md— embeddings guide linkexamples/dalle/Image_generations_edits_and_variations_with_DALL-E.ipynb— usage-policies/end-user-ids links (x3)examples/How_to_stream_completions.ipynb— usage-guidelines linkexamples/How_to_count_tokens_with_tiktoken.ipynb— tokenizer linkTest plan
🤖 Generated with Claude Code