课程
面向开发者的 AI 辅助编码
中级技能水平
更新时间 2025年8月
TheoryArtificial Intelligence1 小时 30 分钟10 视频28 道练习1,850 XP6,239成就证明
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
深受数千家公司学习者的喜爱
需要团队培训?
企业版试用课程描述
用 AI 更聪明地编写代码
人工智能正在改变开发者编写、调试和维护代码的方式。 从生成函数到改进文档和捕捉错误,AI 编码助手可以显著提升生产力——前提是您知道如何有效地提示它们。 本课程将向你传授用于编程的提示工程艺术与科学,帮助你掌握负责任且高效地运用 AI 的工具。释放 AI 在开发中的强大力量
你将首先探索大型语言模型(LLMs)如何支持软件开发。 学习提示工程的基础知识,了解上下文如何影响 AI 输出,以及如何通过迭代优化提示词来获得更准确、更可靠的结果。将提示工程应用于真实世界的编码任务
接下来,你将实践用于调试、文档编写和测试生成的高级提示策略。 你还将了解如何引导模型提升安全性,确保你的 AI 辅助工作流程避免常见漏洞,并支持软件开发中的最佳实践。构建稳健且负责任的代码
最后,你将评估不同模型,为每项任务选择合适的工具,平衡速度、成本和质量,并应用护栏以确保安全、合乎伦理地使用 AI。 最终,您将能够安全地利用由 AI 驱动的编码助手,并根据自身需求进行定制。先决条件
Intermediate Python1
Unlocking the Power of AI in Code
Learn how AI models enhance coding through completion, debugging, and documentation. Master the basics of prompt engineering and discover how context makes AI responses smarter. This chapter sets the foundation for using AI as a practical coding assistant.
2
Prompt Engineering for Real-World Coding Tasks
Learn how to craft prompts that guide models through complex reasoning, document code effectively, and generate test-driven implementations. By the end of this chapter, you’ll be able to design prompts that improve both the quality of generated code and your overall development workflow.
3
Building Robust AI Coding Workflows
Go beyond prompt crafting in this chapter, and into the practical realities of running AI in production. Explore how to compare and select models based on performance, cost, and task fit; how to embed guardrails that keep outputs safe and compliant; and how to fine-tune workflows for efficiency without sacrificing quality.
面向开发者的 AI 辅助编码
课程完成 加入超过19百万学习者,今天就开始面向开发者的 AI 辅助编码!
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
通过 DataCamp for Mobile 提升您的数据技能
随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。