Caching and resetting output¶
Extractor
caches every LLM response so repeated calls with the same configuration reuse previous results.
Export the cache before you shut down and import it in a future session to avoid running the model on reports that have already been extracted:
If you want to start fresh, call reset()
to clear cached feature values and token estimates. This is useful when you wish to re-run extract_features
on the same DataFrame with a different feature model. reset
returns the instance so you can immediately chain another call:
The returned DataFrame contains your newly extracted features and an empty cache ready for further runs.