豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Fix outdated beta.openai.com URLs in examples and articles#2590

Open
Chessing234 wants to merge 1 commit intoopenai:mainfrom
Chessing234:fix/update-beta-urls-dalle-and-articles
Open

Fix outdated beta.openai.com URLs in examples and articles#2590
Chessing234 wants to merge 1 commit intoopenai:mainfrom
Chessing234:fix/update-beta-urls-dalle-and-articles

Conversation

@Chessing234
Copy link
Copy Markdown

Summary

  • Replace deprecated beta.openai.com links with the current platform.openai.com equivalents across four files
  • Fixes links in the DALL-E notebook (3 occurrences), tiktoken token-counting notebook, streaming completions notebook, and the text comparison article
  • The beta.openai.com domain has been retired; these links currently redirect or 404

Files changed

  • 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

Test plan

  • Verify each updated URL resolves to the correct page on platform.openai.com
  • Confirm no other content was changed

🤖 Generated with Claude Code

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>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge 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)"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant