·develop-ai-functions-example
</>

develop-ai-functions-example

vercel/ai

开发AI SDK功能示例。在 example/ai-functions/src 下创建、运行或修改示例时使用,以验证提供程序支持、演示功能或创建测试装置。

364安装·4热度·@vercel

安装

$npx skills add https://github.com/vercel/ai --skill develop-ai-functions-example

SKILL.md

The examples/ai-functions/ directory contains scripts for validating, testing, and iterating on AI SDK functions across providers.

Examples are organized by AI SDK function in examples/ai-functions/src/:

| generate-text/ | Non-streaming text generation with generateText() | | stream-text/ | Streaming text generation with streamText() | | generate-object/ | Structured output generation with generateObject() | | stream-object/ | Streaming structured output with streamObject() | | agent/ | ToolLoopAgent examples for agentic workflows |

开发AI SDK功能示例。在 example/ai-functions/src 下创建、运行或修改示例时使用,以验证提供程序支持、演示功能或创建测试装置。 来源:vercel/ai。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/vercel/ai --skill develop-ai-functions-example
来源
vercel/ai
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 develop-ai-functions-example?

开发AI SDK功能示例。在 example/ai-functions/src 下创建、运行或修改示例时使用,以验证提供程序支持、演示功能或创建测试装置。 来源:vercel/ai。

如何安装 develop-ai-functions-example?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/vercel/ai --skill develop-ai-functions-example 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/vercel/ai

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01