Skip to content

render answers as markdown#3

Merged
hrshl4codes merged 1 commit into
mainfrom
feature/markdown-responses
May 11, 2026
Merged

render answers as markdown#3
hrshl4codes merged 1 commit into
mainfrom
feature/markdown-responses

Conversation

@hrshl4codes
Copy link
Copy Markdown
Owner

Summary

  • Installs react-markdown and replaces the plain <p> answer renderer in QueryView.jsx with <ReactMarkdown> so responses render headers, bullet points, bold, and code blocks
  • Updates the OpenAI system prompt in chat_service.py to explicitly request markdown-formatted output

Test plan

  • Upload a document and ask a question — answer should render with markdown formatting
  • Verify citations panel still works correctly

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docu-mind-h-tech Ready Ready Preview, Comment May 11, 2026 9:28am

@hrshl4codes hrshl4codes merged commit 84c320c into main May 11, 2026
3 of 4 checks passed
@hrshl4codes hrshl4codes deleted the feature/markdown-responses branch May 11, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant