capture {hellmer} | R Documentation |
Capture chat model response with proper handling
Description
Capture chat model response with proper handling
Usage
capture(original_chat, prompt, type_spec, judgements, echo, ...)
Arguments
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 |
Value
List containing response information
[Package hellmer version 0.1.2 Index]