Package: @effect/ai
Module: Prompt
Base interface for all content parts.
Provides common structure including type and provider options.
Signature
export interface BasePart<Type extends string, Options extends ProviderOptions> {
readonly [PartTypeId]: PartTypeId
/**
* The type of this content part.
*/
readonly type: Type
/**
* Provider-specific options for this part.
*/
readonly options: Options
}
Since v1.0.0