Package: @effect/ai
Module: Response
Response part representing a URL source reference.
Used to reference web URLs that were used in generating the response.
Signature
export interface UrlSourcePart extends BasePart<"source", UrlSourcePartMetadata> {
/**
* Type discriminator for URL sources.
*/
readonly sourceType: "url"
/**
* Unique identifier for the URL.
*/
readonly id: string
/**
* The URL that was referenced.
*/
readonly url: URL
/**
* Display title of the URL content.
*/
readonly title: string
}
Since v1.0.0