Open-TutorAi/open-tutor-ai-CE

🀖 First Issue: Enhance LLM Response Formatting

オヌプン

#22 opened on 2025/02/22

 (0 件のコメント) (0 件のリアクション) (0 人の担圓者)JavaScript (179 件のフォヌク)auto 404
good first issue

Repository metrics

Stars
 (84 個のスタヌ)
PR merge metrics
 (PR metrics pending)

説明

🀖 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! 🚀

コントリビュヌタヌガむド