feat(agent): add question suggestions with after-answer follow-ups
Enable agents to configure starter prompts and async follow-up questions after completed answers, with durable caching, analytics events, and chat/embed UI integration.
This commit is contained in:
@@ -3081,6 +3081,7 @@ export default {
|
||||
title: 'Chat',
|
||||
newChat: 'New Chat',
|
||||
suggestedQuestions: 'You can ask me',
|
||||
followUpQuestions: 'Continue with a follow-up',
|
||||
suggestedQuestionsLoading: 'Loading suggestions...',
|
||||
refreshSuggestedQuestions: 'Refresh suggestions',
|
||||
inputPlaceholder: 'Enter your message...',
|
||||
@@ -5487,6 +5488,41 @@ export default {
|
||||
capability: 'Extensions',
|
||||
integration: 'Publish & Integrations',
|
||||
},
|
||||
questionSuggestions: {
|
||||
navLabel: 'Question suggestions',
|
||||
title: 'Conversation question suggestions',
|
||||
description: 'Configure starters and contextual follow-ups in one agent-owned policy. Channels may hide them but cannot override the policy.',
|
||||
startersTitle: 'Conversation starters',
|
||||
followUpsTitle: 'After-answer follow-ups',
|
||||
enableStarters: 'Show starter questions',
|
||||
enableStartersDesc: 'Shown before the first user message from curated, knowledge, or mixed sources.',
|
||||
enableFollowUps: 'Generate follow-up questions',
|
||||
enableFollowUpsDesc: 'Generated asynchronously after every completed answer. Enabling this adds model usage.',
|
||||
sourceMode: 'Source mode',
|
||||
count: 'Question count',
|
||||
curatedItems: 'Curated questions',
|
||||
curatedItemsDesc: 'Used for starters and prioritized in hybrid mode.',
|
||||
addItem: 'Add question',
|
||||
model: 'Generation model',
|
||||
modelDesc: 'Uses the model from the completed turn when empty.',
|
||||
advancedSettings: 'Advanced generation settings',
|
||||
advancedSettingsDesc: 'Context, question types, instructions, and display rules',
|
||||
displayRules: 'Display and fallback rules',
|
||||
contextTurns: 'Context turns',
|
||||
categories: 'Question types',
|
||||
instruction: 'Additional instruction',
|
||||
suppressFallback: 'Hide after fallback answers',
|
||||
suppressQuestion: 'Hide when the answer ends with a question',
|
||||
knowledgeFallback: 'Use knowledge candidates if generation fails',
|
||||
allowRegenerate: 'Allow users to regenerate',
|
||||
modeCurated: 'Curated',
|
||||
modeKnowledge: 'Knowledge',
|
||||
modeGenerated: 'Generated',
|
||||
modeHybrid: 'Hybrid',
|
||||
categoryClarify: 'Clarify',
|
||||
categoryDeepen: 'Deepen',
|
||||
categoryAction: 'Next step',
|
||||
},
|
||||
placeholders: {
|
||||
available: 'Available variables: ',
|
||||
clickToInsert: '(click to insert)',
|
||||
|
||||
Reference in New Issue
Block a user