Skip to main content
Home Projects Logs Garden Feeds About

Tag: vercel

3 entries

All tags
2024-01-31 Posts

Language Model Streaming With SSE

OpenAI popularized a pattern of streaming results from a backend API in realtime with ChatGPT. This approach is useful because the time a language model takes to run inference is often longer than what you want for an API call to feel snappy and fast. By streaming the results as they're produced,...

sse vercel language_models python fastapi
2024-01-17 TIL

Using Vercel's AI SDK to stream responses from different language models

Edit (2024-07-21): Vercel has updated the ai package to use different abstractions than the examples below. Consider reading their docs first before using the example below, which is out of date.

vercel ai language_models
2023-08-13 TIL

Next.js Async Functions

The problem with long running code in Next serverless functions

nextjs vercel

© 2025 Dan Corin · Built with Astro

Keyboard Shortcuts

Global

⌘ K Open search
⌘ ⇧ M Toggle dark/light theme
⇧ ? Show keyboard shortcuts
Press ESC to close