View source: R/content-safety-preview.R
| foundry_agent_message | R Documentation |
Build a single conversation turn for the messages argument of
foundry_task_adherence().
foundry_agent_message(
source,
role,
contents = NULL,
tool_calls = NULL,
tool_call_id = NULL
)
source |
Character. |
role |
Character. |
contents |
Character. Optional message text. |
tool_calls |
List. Optional tool calls issued by an assistant turn.
Build each with |
tool_call_id |
Character. Optional identifier tying a |
A named list matching the task-adherence message schema.
foundry_agent_message("Prompt", "User", "How many can I buy?")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.