Skip to content
项目

关于

AI Hero 的开源示例和课程资料。通过一个仓库学习 AI 工程。

学习与教育

这些数字如何统计

实测星标增长

24小时
-1
7天
+10
15天
+28
1个月
+53

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

AI Hero

From Zero to AI Hero

Welcome!

AI Hero is the course I'm building to take you from zero to fully-fledged AI engineer.

It's going to be the perfect course for anyone looking to transition from frontend, backend, or full-stack development to working with AI.

I'm open sourcing most of the code for the course, including:

  • Examples
  • Exercises
  • Libraries & SDKs (like Evalite, my evals framework)
  • Articles

Following repo notifications can be pretty painful, so get on my newsletter to stay up to date.

Examples

The bit I'm currently working on is the examples directory.

Each example is a self-contained, runnable code sample that demonstrates a concept or technique.

Anything marked with TODO is, well, you get it.

Quickstart

Let's get you running your first example.

1. Install node

You'll need Node.js installed to run the exercises and examples. LTS (Long Term Support) is recommended.

2. Install PNPM

Install pnpm using Corepack.

3. Install Dependencies

# Installs all dependencies
pnpm install

4. Add A .env File

Create a .env file in the root of the project with the following content:

# Your OpenAI API key
OPENAI_API_KEY=your-api-key

# OR your Anthropic API key
ANTHROPIC_API_KEY=your-api-key

I'll be adding a guide on running the examples with local models soon.

5. Run An Example

Runs the first example of examples/vercel-ai-sdk. Each example links to a corresponding article on AI Hero.

pnpm run example v 01

探索相关项目

加载中…