Title: Chat Shortcode
Last modified: January 25, 2023

---

# Chat Shortcode

 *  Resolved [ryanmalham](https://wordpress.org/support/users/ryanmalham/)
 * (@ryanmalham)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/chat-shortcode/)
 * I added this to a test page ([https://www.hintonbuildings.com/30214-2/](https://www.hintonbuildings.com/30214-2/))
   as a shortcode block.
 * [mwai_chat env=”undefined” context=”Converse with prospective customer as if 
   you were an associate at Hinton Buildings, a retailer of wooden and metal storage
   buidings with locations in Princeton, NC, Kinston, NC, and Dunn, NC. The main
   website is [http://www.hintonbuildings.com](http://www.hintonbuildings.com) Be
   friendly, creative.” ai_name=”Henry” user_name=”Customer:” start_sentence=”Hi!
   How may I help you?” text_input_placeholder=”Hello. May I help you with questions
   about Hinton Buildings?” window=”true” casually_fined_tuned=”true” content_aware
   =”true”]
 * When I load the page, I expect the chatbot graphic in the bottom right corner.
   Nothing is showing. Am I not understanding something?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/chat-shortcode/#post-16409499)
 * Why do you have env=”undefined”?
 * On a simple page, for me, it works; however, depending on the content of the 
   page, it might get broken by it.
 * However, why is there no content at all?
 *  [arumgeorge](https://wordpress.org/support/users/arumgeorge/)
 * (@arumgeorge)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/chat-shortcode/#post-16418708)
 * What should env= be?
   When I build a shortcode in the shortcode builder it always
   provides env=”undefined”
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/chat-shortcode/#post-16419791)
 * There was a little issue for early user, normally this “undefined” for env is
   gone now. If it’s not, you can try to reset the parameters, or play with the 
   settings, it will go away 🙂
 * The env is just an additional way to track the queries, it’s used in the logs.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Chat Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/ai-engine/assets/icon-256x256.png?rev=3431928)
 * [AI Engine - The Chatbot, AI Framework & MCP for WordPress](https://wordpress.org/plugins/ai-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ai-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ai-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/ai-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ai-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ai-engine/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/chat-shortcode/#post-16419791)
 * Status: resolved