effect-io-ai

Package: @effect/ai
Module: Prompt

Prompt.Part

Union type representing all possible content parts within messages.

Parts are the building blocks of message content, supporting text, files, reasoning, tool calls, and tool results.

Signature

type Part = TextPart | ReasoningPart | FilePart | ToolCallPart | ToolResultPart

Source

Since v1.0.0