Skip to content
FacebookYouTubeX (Twitter)

AI Task

Pingstreams Design Studio allows you to create chatbots that generate pertinent responses using the AI Task feature. With this feature, you can enhance your conversation flow with the power of advanced AI models. Some use cases for this feature include:

  • Generating answers based on customer feedback
  • Prioritizing and categorizing customer inquiries
  • Sentiment analysis
  • Generating emails and much more

This feature enables you to leverage the power of different AI models, including the most recent ones like GPT-4o, to make your conversations more diverse, human-like, and automate many manual tasks.

Before you start, it’s essential to have a clear use case in mind. For this example, let’s say you want to create a bot that handles feedback requests.

First, navigate to the Pingstreams dashboard and then to the Design Studio.

Next, we need to create a new attribute to record the user feedback. To do this, ask the user, “How did you find our support team?” and then use an action called “Capture User Reply” to save the user’s response in a new attribute.

Capture User Reply Setup

That’s it! You’ve successfully created a chatbot with Pingstreams Design Studio that uses the AI Task feature to generate pertinent responses based on customer feedback. This can greatly enhance your chatbot’s ability to provide relevant and context-aware responses to users.

Next, drop the “AI Task” into a new block. By clicking on the block, a right-side menu will appear, allowing you to insert your prompt. Use the following prompt:

Try to generate a short and pertinent response to our customer feedback, which is {feedback_attribute}.

AI Task Configuration

By clicking on the AI settings in the right-side menu, you can define the AI model you prefer and the number of AI tokens.

Decide the maximum number of tokens you want the AI response to have.

Tokens are chunks of text, and limiting their number can help control the length of the generated responses.

Determine whether you want shorter or longer responses based on your use case. For example, if you want concise responses, you might set the max number of tokens to 50. If you want more detailed responses, you can set it to a higher value, like 150.

AI Settings Configuration

Next, create a “Reply” action with the AI attribute.

Create a new block or use an existing one where you want to generate AI responses. Within the block, create a “Reply” action to generate the response. In the “Reply” action, add the attribute to store the generated response.

Reply Action with AI Attribute

Test your chatbot to ensure it generates pertinent responses based on customer feedback. Provide feedback in the chat to see how the AI-generated response is handled.

Testing AI Response

I hope you found this helpful.

If you need assistance, do not hesitate to contact us via support@pingstreams.io.

For more details, please visit www.pingstreams.com.

If you haven’t created your free account yet, start here with Pingstreams.