FaustoNisida / Chatbot-Long-Short-Term-Memory

GPT-3 Chatbot with Long and Short Term Memory and advanced logic built in javascript with openai API - short and long memory, KYC, embeddings, openai, database, flexible, gpt-3.5-turbo, react
161 stars 37 forks source link

Render GPT response with react-markdown #8

Open jh0ker opened 1 year ago

jh0ker commented 1 year ago

This is especially useful if one wants to use this for generating code

jh0ker commented 1 year ago

Might look into either making GPT note the programming language or somehow autodetecting it, that way it could be highlighted (see https://github.com/remarkjs/react-markdown#use-custom-components-syntax-highlight)