Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 969 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 969 Bytes

📝 LLM Markdown

A Nextjs app demonstrating how to display rich-text responses from Large Language Models (LLMs) by prompting and rendering Markdown formatting, Mermaid diagrams, and LaTeX equations.

Read more in this blog post: Rendering rich responses from LLMs

Examples

This example is asking for the top grossing movies, structured as a Mermaid pie chart.

LLM Markdown Demo

This example is asking when vegetables should be planted, structured as a Mermaid Gantt chart.

LLM Markdown Demo

Technologies

Setup

  • Clone the project
  • npm install
  • npm run dev
  • Open in your browser
  • Set your OpenAI API Key