goose_cache_get: Get Cached Response

View source: R/cache.R

goose_cache_getR Documentation

Get Cached Response

Description

Retrieve a cached response for a query

Usage

goose_cache_get(query, model = NULL, max_age = NULL, conn = NULL)

Arguments

query

The query text

model

Optional model identifier

max_age

Maximum age in seconds (NULL for no limit)

conn

Database connection

Value

Response text or NULL if not found


gooseR documentation built on Feb. 6, 2026, 5:07 p.m.