openai-cookbook/CONTRIBUTING.md
2023-10-13 17:22:40 -07:00

5.5 KiB
Raw Blame History

Welcome, AI Chef

The OpenAI Cookbook is a community-driven resource aimed at sharing knowledge in a way that is accessible, engaging, and enriching for all AI builders.

Before contributing, read through the existing issues and pull requests to see if someone else is already working on something similar. That way you can avoid duplicating efforts.

What makes a good cookbook?

Useful: Involves concepts or techniques that can be applied broadly, and can translate to practical uses and solving real-world problems. In your introduction, explain why the topic is important.

Novel or common: Showcases new developments or techniques. Look out for new research on how to best use LLMs, or new models and capabilities in the API. Alternatively, you can identify common challenges. If you're doing something often, chances are others are too, and having reusable examples to reference can be very helpful.

Creative: Uses LLMs in creative and innovative ways, or combines multiple APIs and tools in novel ways.

Neutral: Maintains a neutral stance on tools and products. While it's natural to have preferences for particular tools, a good guide avoids over-evangelizing or marketing specific products, ensuring integrity and inclusivity.

High quality: Well structured, clear and complete. Writing good content ensures others can fully benefit from it. See the rubric below for more details on how we assess the quality of submissions to the Cookbook.

Rubric

To ensure the quality of submissions, we have established a rubric that assesses each contribution on various areas. The purpose of this rating system is to maintain a high standard of quality, relevance, and uniqueness. Each area is rated on a scale from 1 to 4. Contributions that score lower than a 3 in any of the areas will generally be rejected.

We encourage contributors to familiarize themselves with this rubric before writing content. Understanding the criteria not only increases the chances of your contribution being accepted, but also helps in creating a resource that is comprehensive, clear, and beneficial for all users.

For additional advice on writing good documentation, refer to What Makes Documentation Good.

Criteria Description Score
Relevance Is the content related to building with the OpenAI API? Is it useful?
Uniqueness Does the content offer new insights or unique information compared to existing documentation?
Clarity Is the language easy to understand? Are things well-explained? Is the title clear?
Correctness Are the facts, code snippets, and examples correct and reliable? Does everything execute correctly?
Completeness Is the content thorough and detailed? Are there things that werent explained fully?
Grammar Are there grammatical or spelling errors present?

Breakdown

Relevance

Score Description
1 Not relevant to AI or the OpenAI API.
2 Only tangentially relevant.
3 Relevant, but not very useful.
4 Relevant and useful.

Uniqueness

Score Description
1 There are many other guides and examples like this.
2 Siginifcant overlap with others, but has some unique aspects.
3 Unique with some minor overlaps.
4 Completely unique, fresh insights or new information.

Clarity

Score Description
1 Confusing and unclear.
2 Some sections are confusing and unclear.
3 Clear language, but structure is hard to follow.
4 Clear language and structure.

Correctness

Score Description
1 Many errors, code doesn't execute.
2 Few errors and warnings.
3 All code works, minor improvements needed.
4 Completely error free.

Completeness

Score Description
1 Missing significant details and explanations.
2 Lacks some essential information.
3 Mostly complete, slight additions needed.
4 Complete and detailed.

Grammar

Score Description
1 Numerous spelling and grammatical errors.
2 Some grammatical and spelling errors.
3 Grammar is correct, but there are a few typos.
4 Completely free of spelling and grammatical errors.