wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_ai_client_prompt › WordPress Function
Desde7.0.0
Obsoleton/a
› wp_ai_client_prompt ( $prompt = null )
| Parâmetros: |
|
| Retorna: |
|
| Definido em: |
|
| Codex: |
Creates a new AI prompt builder using the default provider registry.
This is the main entry point for generating AI content in WordPress. It returns a fluent builder that can be used to configure and execute AI prompts. The prompt can be provided as a simple string for basic text prompts, or as more complex types for advanced use cases like multi-modal content or conversation history.Funções relacionadas: wp_ai_client_embedding, is_client_error, wp_get_recent_posts, wp_add_inline_script, wp_apply_alignment_support