View source: R/content_blocks.R
| validate_model_messages | R Documentation |
Part of the companion-package extension API (used by aisdk.shiny).
Checks that the content blocks in messages are supported by model.
validate_model_messages(model, messages)
model |
A language model object. |
messages |
A list of messages to validate. |
Invisibly TRUE if validation passes; otherwise raises an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.