wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_ai_client_prompt › WordPress Function
Depuis7.0.0
Dépréciéen/a
› wp_ai_client_prompt ( $prompt = null )
| Paramètres: |
|
| Retourne: |
|
| Défini(e) dans: |
|
| 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.Fonctions en relation: wp_ai_client_embedding, is_client_error, wp_get_recent_posts, wp_add_inline_script, wp_apply_alignment_support