goose_cache_set: Cache an AI Response
Description
Store a query-response pair in the cache
Usage
goose_cache_set(query, response, model = NULL, metadata = NULL, conn = NULL)
Value
Logical indicating success
Arguments
- query
The query text
- response
The response text
- model
Optional model identifier
- metadata
Optional metadata as list
- conn
Database connection (auto-created if NULL)