capture | R Documentation |
Capture chat model response with proper handling
capture(original_chat, prompt, type_spec, judgements, echo, ...)
original_chat |
Original chat model object |
prompt |
Prompt text |
type_spec |
Type specification for structured data |
judgements |
Number of judgements for structured data extraction resulting in refined data |
List containing response information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.