# Vercel AI SDK examples

This folder contains JavaScript examples demonstrating how to use the Vercel AI SDK with mock models.

## Requirements

- [Node.js](https://nodejs.org/)

## Examples

- `basic_text_generation/`: Basic text generation using `generateText()`.
- `streaming_text/`: Streaming generated text in real-time.
- `structured_output/`: Generating structured JSON output using Zod.
- `tool_use/`: Equipping the AI model with custom tools.

## Running the examples

Each example is in its own folder and contains a `README.md` with instructions on how to run it.
