effect-io-ai

Package: @effect/ai
Module: Response

Response.UrlSourcePartEncoded

Encoded representation of URL source parts for serialization.

Signature

export interface UrlSourcePartEncoded extends BasePartEncoded<"source", UrlSourcePartMetadata> {
  /**
   * Type discriminator for URL sources.
   */
  readonly sourceType: "url"
  /**
   * Unique identifier for the URL.
   */
  readonly id: string
  /**
   * The URL that was referenced as a string.
   */
  readonly url: string
  /**
   * Display title of the URL content.
   */
  readonly title: string
}

Source

Since v1.0.0