Nico Albanese's Avatar

Nico Albanese

@nicoalbanese.com

working on the AI SDK @ Vercel below average sense of humor

179
Followers
53
Following
9
Posts
22.11.2024
Joined
Posts Following

Latest posts by Nico Albanese @nicoalbanese.com

Post image

Learn how to build a web search agent in our latest recipe.

02.04.2025 11:55 ๐Ÿ‘ 4 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Hey! I'm sorry to hear about that - would love to hear a bit more about what went wrong and how we can improve it.

07.03.2025 10:18 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

The granular useChat status messages make it easy to show a loading spinner (when status=submitted):

15.02.2025 10:48 ๐Ÿ‘ 6 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

useChat now provides more granular status information for each request:

15.02.2025 10:47 ๐Ÿ‘ 6 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 1

Sorry that should say SvelteKit! Thanks for the flag - will fix.

14.02.2025 13:53 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
// AI SDK Cerebras Provider  import { generateText } from 'ai'; import { cerebras } from '@ai-sdk/cerebras';  const { text } = await generateText({   model: cerebras('llama-3.3-70b'),   prompt: 'Write a vegetarian lasagna recipe for 4 people.', });

// AI SDK Cerebras Provider import { generateText } from 'ai'; import { cerebras } from '@ai-sdk/cerebras'; const { text } = await generateText({ model: cerebras('llama-3.3-70b'), prompt: 'Write a vegetarian lasagna recipe for 4 people.', });

AI SDK Provider: @CerebrasSystems

Use Cerebras with the AI SDK:

27.01.2025 11:24 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

My first AI course is complete... And it's free!

It's a 16-lesson tutorial on Vercel's AI SDK. It's the missing piece for working with AI in TypeScript.

No bullshit, no hype. Just solid, practical advice.

https://www.aihero.dev/vercel-ai-sdk-tutorial

20.01.2025 16:30 ๐Ÿ‘ 138 ๐Ÿ” 16 ๐Ÿ’ฌ 8 ๐Ÿ“Œ 4
Post image

AI SDK 4.1

โ€ข Image generation
โ€ข Non-blocking data streaming
โ€ข Simplified persistence with useChat
โ€ข Stream transformation and smoothing
โ€ข Improvements to tool calling and structured outputs

20.01.2025 17:20 ๐Ÿ‘ 16 ๐Ÿ” 3 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

AI SDK 4.0.37

We've added chat ID forwarding and a helper function to simplify implementing persistence with useChat and streamText.

To learn more, check out our latest guide and minimal example.

15.01.2025 18:30 ๐Ÿ‘ 8 ๐Ÿ” 3 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

New AI SDK Provider: @replicate.com

Replicate hosts a large number of image models - you can use all of them in the AI SDK now!

Check out how to generate images with Flux:

14.01.2025 17:23 ๐Ÿ‘ 8 ๐Ÿ” 4 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

AI SDK 4.0.14

๐Ÿงช generateImage (experimental)

You can now generate images with the AI SDK. We currently support OpenAI - stay tuned for additional image providers.

11.12.2024 09:36 ๐Ÿ‘ 8 ๐Ÿ” 2 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 1

this was a lot of fun to pull together!

10.12.2024 19:25 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Structured outputs with Ollama & AI SDK:

09.12.2024 09:01 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

The AI SDK Vertex provider got a huge update ๐Ÿ‘€

Thanks @shaper42.bsky.social !

09.12.2024 09:01 ๐Ÿ‘ 2 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

npm i ai

Now on mobile, with Expo.

28.11.2024 17:46 ๐Ÿ‘ 3 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

this is awesome

28.11.2024 15:20 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

Introducing the Cookbook ๐Ÿ“•

An open-source collection of recipes and guides for building with the AI SDK.

sdk.vercel.ai/cookbook

27.11.2024 09:43 ๐Ÿ‘ 9 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

Shipping soon: Advent of Prompt

27.11.2024 00:54 ๐Ÿ‘ 8 ๐Ÿ” 1 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 1
Preview
PDF to Quiz Generator An Next.js application that uses the AI SDK to generate a multiple choice quiz from a PDF.

vercel.com/templates/ne...

26.11.2024 15:17 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
PDF Support Preview Experimental preview of PDF support with the AI SDK

ai-sdk-preview-pdf-support.vercel.app

26.11.2024 15:17 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

PDF to multiple-choice quiz in seconds

Wish I had this in school!

Built with the @sdk.vercel.ai and fully open-source

26.11.2024 15:17 ๐Ÿ‘ 5 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

๐ŸงฉAI SDK provider: TogetherAI

Using TogetherAI models has become even easier with the new provider for the AI SDK:

25.11.2024 08:54 ๐Ÿ‘ 5 ๐Ÿ” 2 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

Quickstart guide for @expo.dev and @sdk.vercel.ai coming soon!

22.11.2024 16:03 ๐Ÿ‘ 9 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
a black dog with the words " i don t want any trouble ok please don t hurt me " ALT: a black dog with the words " i don t want any trouble ok please don t hurt me "
22.11.2024 11:10 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0