put

suspend fun PromptCache.put(prompt: Prompt, tools: List<ToolDescriptor>, response: Message.Assistant)(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