Open-TutorAi/open-tutor-ai-CE

🤖 First Issue: Enhance LLM Response Formatting

开放

#22 创建于 2025年2月22日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (179 个派生)auto 404
good first issue

仓库指标

星标
 (84 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

🤖 First Issue: Enhance LLM Response Formatting

Description

The AI tutor's responses need better formatting for readability, especially when explaining concepts, providing examples, or listing steps.

Suggested Improvements

  • 📌 Markdown Support: Allow the AI to format responses with bold, italic, bullet points, and code blocks.
  • 📖 Code Highlighting: If the tutor explains coding concepts, ensure proper syntax highlighting.
  • 🎭 Consistent Styling: Improve how different response types (definitions, examples, explanations) are displayed.

Getting Started

  1. Identify where LLM responses are displayed ( API response handler, etc.).
  2. Implement markdown parsing (e.g., using marked.js or another library).
  3. Ensure code blocks and special formatting render correctly.
  4. Test and submit a PR with examples of formatted responses.

Tasks

  • Implement markdown support in AI responses.
  • Improve code syntax highlighting.
  • Test response formatting.
  • Submit a PR.

Priority

🟢 Beginner-Friendly

Additional Notes

This issue is great for frontend or full-stack developers who want to improve LLM usability! 🚀

贡献者指南