Package: @effect/ai
Module: Response
A utility type for specifying the parameters required to construct a specific response part.
Signature
type ConstructorParams<Part> = Omit<Part, PartTypeId | "type" | "sourceType" | "metadata"> & {
/**
* Optional provider-specific metadata for this part.
*/
readonly metadata?: Part["metadata"] | undefined
}
Since v1.0.0