Package: @effect/ai
Module: Response
Base interface for all response content parts.
Provides common structure including type identifier and optional metadata.
Signature
export interface BasePart<Type extends string, Metadata extends ProviderMetadata> {
readonly [PartTypeId]: PartTypeId
/**
* The type of this response part.
*/
readonly type: Type
/**
* Optional provider-specific metadata for this part.
*/
readonly metadata: Metadata
}
Since v1.0.0