Sets a system-level prompt to be used with all AI search functions. When called with no arguments, returns the currently active prompt.
Arguments
- prompt_name
Name of a prompt from the prompt library, or a custom prompt text. Use
ai_prompt_list()
to see available prompt names. If NULL, returns the current active prompt without changing it.