Artifacts are persisted outputs designed for human consumption and available in the UI.
create_link_artifact()
or create_markdown_artifact()
generates a distinct artifact.Unlike the Python print()
function (where you can concatenate multiple calls to include additional items in a report),
these artifact creation functions must be called multiple times, if necessary.To create artifacts such as reports or summaries using create_markdown_artifact()
, define your message string
and then pass it to create_markdown_artifact()
to create the artifact.