effect-io-ai

Package: @effect/ai
Module: Response

Response.BasePartEncoded

Base interface for encoded response content parts.

Signature

export interface BasePartEncoded<Type extends string, Metadata extends ProviderMetadata> {
  /**
   * The type of this response part.
   */
  readonly type: Type
  /**
   * Optional provider-specific metadata for this part.
   */
  readonly metadata?: Metadata | undefined
}

Source

Since v1.0.0