首页/提示词模板/OpenAI Cookbook
O

OpenAI Cookbook

提示词模板 热度 66 收录 2026-11-01
访问官网 ↗ GitHub 仓库 ↗

简介

OpenAI 官方示例代码库:Agent 编排、函数调用、RAG、评估等实战 Notebook,跟随 API 更新持续迭代。

English

OpenAI's official examples: agent orchestration, function calling, RAG and evaluation notebooks, kept in sync with the API.

适用场景

  • 要找可直接运行的工程范例(RAG、function calling、评估、微调)
  • 遇到具体问题时想看官方推荐写法
  • 给团队做技术方案时找可引用的实现

快速上手

  1. 按主题找对应 notebook,先读开头的问题设定
  2. 装好依赖,把 API Key 换成自己的再跑一遍
  3. 改关键参数(模型、temperature、切分长度)观察差异
  4. 把有效配置抄进自己仓库,加错误处理与成本控制

标签

教程官方实战示例

相关资源

C
Agent

Claude Skills(官方仓库) 精选

Anthropic 官方 Agent Skills 仓库,包含 docx/pptx/xlsx/pdf 等文档处理技能及示例,是学习 Skill 规范(SKILL.md)写法的最佳范本。Anthropic's official Agent Skills repository with document skills (docx/pptx/xlsx/pdf) and examples — the reference for SKILL.md conventions.

热度 86 详情 →
M
MCP

Model Context Protocol(MCP) 精选

Anthropic 推出的模型上下文开放协议,已成为 AI 工具调用的事实标准;官方 servers 仓库收录文件系统、搜索、数据库等参考实现。Anthropic's open protocol connecting AI models to tools and data — the de-facto standard, with reference server implementations.

热度 86 详情 →
C
编程

Claude Code 精选

Anthropic 官方终端编程 Agent:理解整个代码库、跨文件修改、执行命令与 Git 操作,支持 MCP 与自定义 Skills 扩展。Anthropic's official terminal coding agent: codebase-aware edits, shell commands and git workflows, extensible via MCP and Skills.

热度 86 详情 →
↑