View source: R/context_budget.R
| trim_context_preview | R Documentation |
Part of the companion-package extension API (used by aisdk.datatools).
trim_context_preview(text, max_chars = 160L)
text |
Text to trim. |
max_chars |
Maximum number of characters to keep. |
A trimmed preview string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.