effect-io-ai

Package: @effect/ai
Module: Response

Response.ResponseMetadataPartEncoded

Encoded representation of response metadata parts for serialization.

Signature

export interface ResponseMetadataPartEncoded
  extends BasePartEncoded<"response-metadata", ResponseMetadataPartMetadata>
{
  /**
   * Optional unique identifier for this specific response.
   */
  readonly id?: string | undefined
  /**
   * Optional identifier of the AI model that generated the response.
   */
  readonly modelId?: string | undefined
  /**
   * Optional timestamp when the response was generated.
   */
  readonly timestamp?: string | undefined
}

Source

Since v1.0.0