| parse_shield_response | R Documentation |
Internal function to parse the Shield API response into a tidy tibble.
parse_shield_response(result, user_prompt, documents)
result |
List. The parsed JSON response from the API. |
user_prompt |
Character. The original user prompt. |
documents |
Character vector. The original documents (or NULL). |
A tibble with source, content, and attack_detected columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.