Skip to content

Display Chain-of-Thought reasoning steps in UI #274

@manavgup

Description

@manavgup

Priority

🔴 High

Description

Show CoT reasoning steps, sub-questions, and intermediate answers in expandable accordion sections.

Current State

Backend CoT works but UI doesn't visualize reasoning steps

UI Evidence

Tested "CoT Reasoning Test" - no reasoning steps shown

Files to Modify

  • frontend/src/components/search/CoTDisplay.tsx (new)
  • frontend/src/components/search/MessageDisplay.tsx
  • frontend/src/types/search.ts

Acceptance Criteria

  • Display sub-questions generated during CoT
  • Show intermediate reasoning steps
  • Display final synthesized answer
  • Use accordion/collapsible UI for each step
  • Number steps sequentially
  • Add "Show reasoning" toggle

Effort

1 week

Related Issues

#253, #136

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendFrontend/UI relatedpriority:highHigh priority - important for releaseragRAG pipeline and search

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions