put

abstract suspend fun put(prompt: Prompt, tools: List<ToolDescriptor> = emptyList(), response: List<Message.Response>)(source)

Put a response in the cache for a prompt with tools.

Parameters

prompt

The prompt to cache the response for

tools

The tools used with the prompt

response

The response to cache