Coder Social home page Coder Social logo

openai-cookbook-zh's Introduction

OpenAI Cookbook Logo

✨ 访问 cookbook.openai.com 进行导航

示例代码和指南,用于完成使用 OpenAI API 的常见任务。要运行这些示例,您需要一个 OpenAI 账户和相关的 API 密钥(在此创建免费账户)。设置一个名为 OPENAI_API_KEY 的环境变量,其中包含您的 API 密钥。或者,在大多数 IDE 如 Visual Studio Code 中,您可以在仓库的根目录创建一个 .env 文件,内容为 OPENAI_API_KEY=<your API key>,笔记本会自动读取该文件。

大多数代码示例是用 Python 编写的,但这些概念可以应用于任何语言。

对于其他有用的工具、指南和课程,请查看这些 来自网络的相关资源

贡献

OpenAI Cookbook 是一个社区驱动的资源。无论是提交一个想法、修正一个错别字、添加一个新的指南,还是改进现有的内容,我们都非常感谢您的贡献!

在贡献之前,请浏览现有的问题和拉取请求,看看是否有人已经在处理类似的事情。这样可以避免重复工作。

如果您希望看到某些示例或指南,请随时在 问题页面 上提出建议。

如果您想贡献新内容,请确保阅读我们的 贡献指南。我们欢迎高质量的新示例和指南提交,只要它们符合我们的标准并适合 Cookbook 的范围。

本仓库的内容会根据 registry.yaml 自动渲染到 cookbook.openai.com

在 GitHub Codespaces 中打开

openai-cookbook-zh's People

Contributors

aidoczh avatar

Stargazers

Verna Spinka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.