Prompt Chain

Generate Next Chat Questions

Question Simulation generates suggestions for the next question based on previous chat history and outputs [STOP] when the chat history indicates the


90
Spark score
out of 100
Updated 3 months ago
Version 1.0.0

Add to Favorites

Why it matters

Enhance customer support conversations by automatically suggesting relevant follow-up questions based on chat history. This helps agents provide more comprehensive and efficient assistance.

Outcomes

What it gets done

01

Analyze chat history to understand context.

02

Generate potential next questions for the user.

03

Determine when a conversation should conclude.

04

Output '[STOP]' when the chat is complete.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/pf-standard-question-simulation | bash

Steps

Steps in the chain

01
Generate next question suggestions

Based on the previous chat history, generate suggestions for the next question to continue the conversation.

02
Evaluate conversation end condition

When the chat history seems like it should be ended, output [STOP] to terminate the flow.

Overview

Question Simulation

What it does

A question suggestion flow with conversation termination detection

How it connects

When you need next question suggestions derived from chat history

Source README

This question simulation flow is used to generate suggestions for the next question based on the previous chat history. When the chat history seems like should be ended, then the flow output will be [STOP].

Step 1: Generate next question suggestions

Based on the previous chat history, generate suggestions for the next question to continue the conversation.

Step 2: Evaluate conversation end condition

When the chat history seems like it should be ended, output [STOP] to terminate the flow.

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.