llumpy.retry.AsyncJSONRetryHandler¶
- class AsyncJSONRetryHandler[source]¶
Bases:
_JSONRetryHandlerBase,AsyncRetryHandlerAsync handler for parsing JSON from LLM responses
- __init__()¶
Methods
__init__()try_prompt(async_prompt_fn, extract_fn, retries)Prompt an LLM to get a valid response