Skip to main content
HomeProjectsLogsGardenFeedsAbout

Tag: vercel

3 entries

All tags
2024-01-31Posts

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,...

ssevercellanguage_modelspythonfastapi
2024-01-17TIL

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.

vercelailanguage_models
2023-08-13TIL

Next.js Async Functions

The problem with long running code in Next serverless functions

nextjsvercel

© Dan Corin · Built with Astro

/now/uses/activity/map

Keyboard Shortcuts

Global

⌘KOpen search
⌘⇧MToggle dark/light theme
⇧?Show keyboard shortcuts
Press ESC to close