Skip to content

Conversation

dwigg-openai
Copy link
Contributor

Summary

These changes update the base model to gpt-4o-mini, introduces improved rate limit handling techniques, and refines prompt batching for chat completions. It also includes general quality improvements.

Motivation

These updates ensure the cookbook remains accurate, useful, and aligned with the latest model capabilities.


For new content

When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

  • I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
  • I have conducted a self-review of my content based on the contribution guidelines:
    • Relevance: This content is related to building with OpenAI technologies and is useful to others.
    • Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
    • Spelling and Grammar: I have checked for spelling or grammatical mistakes.
    • Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
    • Correctness: The information I include is correct and all of my code executes successfully.
    • Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

@dwigg-openai dwigg-openai requested a review from MW-OAI January 22, 2025 10:04
Copy link
Contributor

@MW-OAI MW-OAI left a comment

Choose a reason for hiding this comment

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

@dwigg-openai left some comments to review, overall looks good

Copy link
Contributor

@MW-OAI MW-OAI left a comment

Choose a reason for hiding this comment

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

Looks good

@dwigg-openai dwigg-openai merged commit 453c90b into main Jan 22, 2025
@dwigg-openai dwigg-openai deleted the dwigg/rate-limits branch January 22, 2025 16:03
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.

2 participants