Text Processing Skill
Updated
Overview
The Text Processing Skill in Sprinklr Digital Twin is designed to enhance the usability of API responses by converting them into a human-readable format. This skill works with the API v2 skill, enabling users to process and understand large volumes of API data. Additionally, it allows users to define custom formats for their responses, ensuring that the data is presented in a way that best suits their needs.
Imagine a customer service scenario where an agent needs to interpret data from various APIs to assist a customer. With the Text Processing Skill, the agent can receive API responses in a clear, readable format.
For instance, if a customer inquires about their order status, the API response can be automatically formatted to display the order details, shipping status, and expected delivery date. This speeds up the response time and improves the accuracy of the information provided to the customer
Create a Text Processing Skill
Under the Sprinklr Service tab, select Digital Twin Studio within Persona Apps.
On the Digital Twin Studio window, click the Digital Twins icon on the left side of the window
Select the Digital Twin in which you want to add the API v2 skill. The selected Digital Twin window will open.
Navigate to Skills & Tasks and click View.
On the Tasks Manager window, click View Skills.
Select Text Processing from the dropdown.
Enter the skill Name and Description.
In the System Prompt field, define rules of text processing you want to implement, that is, how you would like the API response to be processed including the constraints and requirements. Example prompt : Extract Company name and location from API response and convert it into readable format and display the information in bullet points with smileys.
Enter the GenAI Output Adapter under User Text.
Select the Output Variable to store and display the output.
Click Save to add the Text Processing Skill to your Digital Twin.