Title: Encoding 20-step method
Last modified: July 31, 2023

---

# Encoding 20-step method

 *  Resolved [marcfest](https://wordpress.org/support/users/marcfest/)
 * (@marcfest)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/encoding-20-step-method/)
 * I’m currently utilizing AIEngine as a mentor to guide a user through a 20-step
   process to construct a compelling pitch for a product or service. At present,
   I furnish ChatGPT with the 20 steps as the context. I’m wondering if it would
   be more efficient to use embedding instead. My current setup appears to prompt
   AIEngine to send the context to OpenAI each time a query is made (every interaction
   with the user), along with all prior user interactions up to that point. This
   inflates the token count and cost with each question or exchange. Is there a 
   way to prevent this? Submitting my 20-step guide context repeatedly with every
   query seems unnecessary. Can this redundancy be eliminated?

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

 *  Plugin Support [Val Meow](https://wordpress.org/support/users/valwa/)
 * (@valwa)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/encoding-20-step-method/#post-16938809)
 * Hey [@marcfest](https://wordpress.org/support/users/marcfest/) ! 😊
 * The thing called “Context” in the AI Engine’s chatbot dashboard main settings
   is actually the system message. It helps determine how the assistant behaves.
   If you craft it properly, the system message can set the tone and dictate the
   kind of response from the model.
 * Using embeddings might not give the desired results because we can’t guarantee
   that the chatbot will solely rely on the data provided from this source. It might
   make changes to the data.
 * To track where your user is in the conversation, you can use our filters. Then,
   you can modify the params, query, or response to best suit your specific use 
   case (like manually adding information for each of your steps). However, implementing
   this might require some technical knowledge.
 * Hope this helps ! 🙌
 *  Thread Starter [marcfest](https://wordpress.org/support/users/marcfest/)
 * (@marcfest)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/encoding-20-step-method/#post-16939348)
 * Thank you!

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

The topic ‘Encoding 20-step method’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [marcfest](https://wordpress.org/support/users/marcfest/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/encoding-20-step-method/#post-16939348)
 * Status: resolved