HomeGuidesSDK ExamplesAnnouncementsCommunity
Guides

Question Context

Full Context Preservation

What's changed: When adding questions to collections from deep within conversation threads, the system now automatically captures the complete chat context.

The problem this solves:

  • Previously, follow-up questions like "Now for Barilla" would lack conversational context when saved to collections
  • Questions would fail when re-executed because they were missing the preceding conversation
  • Testing multi-turn conversations was difficult or impossible

How it works now:

  1. Ask multiple questions in a conversation thread
  2. When you add any question to a collection, the system automatically includes all relevant previous context
  3. When the question is re-executed from the collection, it runs with full conversational context
  4. Only the final question in the sequence actually executes - previous questions remain static for context

Example workflow:

User: "Show me pasta sales data"
Assistant: [Provides pasta sales visualization]
User: "Now for Barilla"

When you add "Now for Barilla" to a collection, it automatically includes the previous "pasta sales data" context, so the question can be properly understood and executed.

Streamlined Addition Interface

New Modal-Based Selection:

  • Replaces the previous auto-add-to-default behavior
  • Choose from any existing collection or create new ones directly
  • Clear visual feedback with collection selection dropdown
  • Immediate confirmation of successful addition

Multiple Access Points:

  1. Underneath chat responses: New dedicated button below each assistant response
  2. Diagnostics panel: Enhanced interface in the diagnostics sidebar
  3. Debug panel: Available when debug mode is enabled

Benefits of the new approach:

  • No more confusion about which question you're adding when multiple diagnostics panels are open
  • Clear association between the response and the add-to-collection action
  • Reduced clicks and navigation for common workflows

Success Feedback and Navigation

Toast Notifications:

  • Immediate confirmation when questions are successfully added
  • Clickable notifications that take you directly to the target collection
  • Automatically highlights the newly added question for easy identification

Workflow advantages:

  • Immediate verification that the action completed successfully
  • Quick navigation to review or organize the newly added question
  • Seamless transition from conversation to collection management