Package: @effect/ai
Module: Prompt
A utility type for specifying the parameters required to construct a specific message for a prompt.
Signature
type MessageConstructorParams<M> = Omit<M, MessageTypeId | "role" | "options"> & {
/**
* Optional provider-specific options for this message.
*/
readonly options?: Part["options"] | undefined
}
Since v1.0.0