hf_parse_response: Parse API Response to Tibble

View source: R/utils.R

hf_parse_responseR Documentation

Parse API Response to Tibble

Description

Internal helper to convert API JSON responses to tibbles.

Usage

hf_parse_response(resp, input_text = NULL)

Arguments

resp

The response object from httr2.

input_text

Optional. The original input text(s) to include in output.

Value

A tibble with the parsed results.


huggingfaceR documentation built on Aug. 30, 2026, 1:06 a.m.