AiSourceDocuments
Source Documents
Source-document chips attached to the prompt, with remove actions.
docarchitecture.mdpdfapi-spec.pdfurlhttps://ai-sdk.dev/elements
Usage
<AiSourceDocuments :documents="docs" @remove="removeDoc" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| documents* | AiSourceDocument[] | — | — |
| removable | boolean | true | — |
Events
| Event | Payload |
|---|---|
| @remove | AiSourceDocument |
Slots
defaultdocument