extract

abstract fun extract(prompt: Prompt): String?(source)

Extracts a search query string from the given prompt.

Return

the extracted query string, or null if no query could be extracted.

Parameters

prompt

the prompt to extract the query from.