Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support { type: 'text', url: ... } chunks #2406

Open
MaxLeiter opened this issue Jul 24, 2024 · 0 comments
Open

Support { type: 'text', url: ... } chunks #2406

MaxLeiter opened this issue Jul 24, 2024 · 0 comments
Labels

Comments

@MaxLeiter
Copy link
Member

Feature Description

Model providers and the AI SDK currently support two kinds of "chat chunks":

{ type: 'text', text: '....' }

and

{ type: 'image', url: ... }`

I propose a new option for downloading text attachments:

{ type: 'text', url: '' }

Use Case

This will be very helpful when building e.g. chatbots that support text attachments

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants