創作邦載入中Loading CreatorHome

OpenAI Cookbook

OpenAI Cookbook is a collection of code examples and implementation guides publicly released by OpenAI on GitHub, ideal for developers using the OpenAI API who want to reference ready-made implementations. Starting from the completion of common tasks, the content puts code and usage instructions in the same repository, making it easy to read against one's own development needs.

Visit official site

About OpenAI Cookbook

OpenAI Cookbook is a collection of code examples and implementation guides publicly released by OpenAI on GitHub, ideal for developers using the OpenAI API who want to reference ready-made implementations. Starting from the completion of common tasks, the content puts code and usage instructions in the same repository, making it easy to read against one's own development needs.

Examples are mostly written in Python, and official notes indicate that these concepts can be applied to other programming languages. To actually run them, an OpenAI account and API key are required, and environment variables or a project .env file must be set up according to the documentation. The repository is licensed under the MIT license and can be used as a development reference; the licenses of public examples and the costs of running APIs should be considered separately.

Features

Use cases

Categories: Development and Prompt Engineering

Pricing

Examples and guides are open-source and free (MIT license); API usage fees are not confirmed in public data.

Sources

Related resources