课程
使用 OpenAI API
基础技能水平
更新时间 2026年2月
OpenAIArtificial Intelligence3小时9 视频29 道练习2,400 XP140K+成就证明
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
深受数千家公司学习者的喜爱
需要团队培训?
企业版试用课程描述
了解如何通过 OpenAI API 访问 AI 模型
近年来,OpenAI 已成为 AI 模型领域的市场领导者,推出了 GPT-4o 等模型,并通过 ChatGPT 等应用将其带给更广泛的社区。 这些模型不仅可以改变你的工作方式,还能改变企业向客户提供的产品和服务。要开始从 OpenAI 的模型中提取商业价值,你需要学习如何使用它们的应用程序编程接口,简称 API。 在整个课程中,你将学习如何使用 Python 代码发送请求,以使用 OpenAI 的模型。
使用 AI 模型解决现实世界问题
通过 OpenAI API 可访问的 AI 模型具有广泛的潜在应用。 在本课程中,你将使用 AI 生成和转换文本内容,进行情感分析和分类。开始开发 AI 应用
随着人工智能对个人和组织变得越来越易于获取,开发由 AI 驱动的产品功能和自动化的门槛也在不断降低。 如今,每个组织都有能力开始使用 AI 来简化业务流程,并打造更个性化的客户体验。 OpenAI API 为软件工程师和开发者提供了便捷的访问方式,帮助他们开始将 AI 集成到新的应用和系统中。先决条件
Intermediate Python1
Introduction to the OpenAI API
Harness the power of AI from OpenAI's models by creating requests to their API with just a few lines of code. Discover the wide range of capabilities available via the OpenAI API.
2
Prompting OpenAI Models
OpenAI's GPT series of language models have created headlines the world over. In this chapter, you'll generate and refine text, classify content with AI, analyze sentiment, and explore shot prompting to optimize response outputs.
3
Building Conversations with the OpenAI API
Time to create your very own AI-powered chatbot! You'll learn how to write effective system messages, provide examples in the form of user and assistant messages, and integrate a message history to retain context between prompts.
使用 OpenAI API
课程完成 加入超过19百万学习者,今天就开始使用 OpenAI API!
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
通过 DataCamp for Mobile 提升您的数据技能
随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。