Open-TutorAi/open-tutor-ai-CE

🤖 First Issue: Enhance LLM Response Formatting

Ouverte

#22 ouverte le 22 févr. 2025

 (0 commentaire) (0 réaction) (0 personne assignée)JavaScript (179 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (84 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur