get
abstract suspend fun get(prompt: Prompt, tools: List<ToolDescriptor> = emptyList()): List<Message.Response>?(source)
Get a cached response for a prompt with tools, or null if not cached.
Return
The cached response, or null if not cached
Parameters
prompt
The prompt to get the cached response for
tools
The tools used with the prompt