🧠 What Are Cacbot System Instructions?

Cacbot system instructions πŸ“ are a powerful way to control the behavior of AI agents on your WordPress site. These instructions guide the Cacbot on how to respond, what context to use, and how to interact with users.


βš™οΈ How System Instructions Work

  • Custom Post Meta Field: The key _cacbot_system_instructions is used as a custom field on WordPress posts.
  • String Value: You can set this field to a direct instruction, such as You are a helpful assistant. This tells the AI exactly how to behave.
  • Integer Value: Alternatively, you can set this field to a post ID. The content of that post (with shortcodes expanded) will be used as the system instructions, allowing for dynamic and reusable instruction sets.

πŸš€ Advanced Configuration

  • Use shortcodes for dynamic information and context.
  • Reference other posts for complex or multi-step instructions.
  • Leverage PHP functions through WordPress shortcodes for advanced logic.

πŸ’‘ Why Use System Instructions?

  • Fine-tune the AI’s responses for different conversations or users.
  • Enable flexible, context-aware interactions.
  • Easily update instructions without changing plugin code.

✨ Examples

Example 1: Simple Instruction

_cacbot_system_instructions: "You are a helpful assistant. Answer questions clearly and concisely."

Example 2: Reference Another Post

_cacbot_system_instructions: 1234  // Uses the content of post ID 1234 as instructions

Example 3: Dynamic Shortcode Expansion

Suppose post 123 contains the following content:

[current_user_info] Please help the user with their request.

Then set:

_cacbot_system_instructions: 123  // The shortcode will be expanded from post 123

πŸ–ΌοΈ Visual Example

Custom Fields Example

By configuring system instructions, you can make Cacbot a truly customized and intelligent assistant for your WordPress site. πŸ¦ΎπŸ€–

πŸ“ Tip: Use Unicode icons and shortcodes to make your instructions more readable and dynamic!


πŸ“Ί Related Video

YouTube Video