Text Snippets

Enhancing Conversational Dynamics with Reusable Text Snippets

Text snippet variables enable you to reuse predefined pieces of text across multiple responses or within other snippets. They offer flexibility and consistency, ensuring that specific phrases or instructions are consistently communicated in conversations.

GroupPrefixKeyTypeDescription

Text snippet

text.

text.<textsnippetName>

string

References text snippets.

Structure and Use of Text Snippets

The "Goodbye" response below incorporates a text snippet variable to reference the snippet named exit:

In this particular scenario, when the system reaches the end of a conversation, it utilizes the exit text snippet to deliver a parting message. This message could be something like, "Thank you for calling, have a great day", which is stored in the exit snippet for easy and consistent reference.

Advantages of Using Text Snippets

  • Consistency: Text snippets ensure that certain phrases or messages are delivered uniformly, maintaining a consistent tone and message.

  • Efficiency: Reusing text snippets saves time by eliminating the need to rewrite common responses.

  • Flexibility: Snippets can be easily updated in one place, and changes will automatically apply wherever the snippet is referenced.

  • Clarity: Snippets reduce the complexity of editing and maintaining responses, especially for larger conversational flows.

Last updated