wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
wp_ai_client_prompt › WordPress Function
Od7.0.0
Przestarzałyn/a
› wp_ai_client_prompt ( $prompt = null )
| Parametry: |
|
| Powrót: |
|
| Zdefiniowane na: |
|
| 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.Powiązane Funkcje: wp_ai_client_embedding, is_client_error, wp_get_recent_posts, wp_add_inline_script, wp_apply_alignment_support