# openai-cookbook **Repository Path**: mirrors/openai-cookbook ## Basic Information - **Project Name**: openai-cookbook - **Description**: OpenAI Cookbook(“OpenAI食谱”)是官方OpenAI API文档的全面实用指南、代码示例和最佳实践集合,旨在帮助开发者有效使用OpenAI强大的API - **Primary Language**: Python - **License**: MIT - **Default Branch**: main - **Homepage**: https://www.oschina.net/p/openai-cookbook - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-15 - **Last Updated**: 2025-09-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README OpenAI Cookbook Logo

> ✨ Navigate at [cookbook.openai.com](https://cookbook.openai.com) Example code and guides for accomplishing common tasks with the [OpenAI API](https://platform.openai.com/docs/introduction). To run these examples, you'll need an OpenAI account and associated API key ([create a free account here](https://platform.openai.com/signup)). Set an environment variable called `OPENAI_API_KEY` with your API key. Alternatively, in most IDEs such as Visual Studio Code, you can create an `.env` file at the root of your repo containing `OPENAI_API_KEY=`, which will be picked up by the notebooks. Most code examples are written in Python, though the concepts can be applied in any language. For other useful tools, guides and courses, check out these [related resources from around the web](https://cookbook.openai.com/related_resources). ## License MIT License