Learn R Programming

tidyllm (version 0.5.1)

fetch_job: Fetch Results from a Batch or Research Job

Description

fetch_job() dispatches to fetch_batch() for batch objects or perplexity_fetch_research() / openai_fetch_research() for tidyllm_research_job objects.

Usage

fetch_job(.job, .provider = NULL, ...)

Value

Fetched results; type depends on .job class.

Arguments

.job

An object with a batch_id attribute (from send_batch()) or a tidyllm_research_job (from deep_research(.background = TRUE)).

.provider

A provider function (required for batch jobs, ignored for research jobs).

...

Additional arguments passed to the underlying function.