Kav-K / GPTDiscord

A robust, all-in-one GPT interface for Discord. ChatGPT-style conversations, image generation, AI-moderation, custom indexes/knowledgebase, youtube summarizer, and more!
MIT License
1.82k stars 302 forks source link

[BUG] Poor handling of the dot operator in math expressions #469

Open Raecaug opened 10 months ago

Raecaug commented 10 months ago

Describe the bug When asked to produce a mathematical formula, Discord cannot correctly parse the character of the dot operator(multiplication), leading to messy and difficult to interpret output.

To Reproduce Steps to reproduce the behaviour:

  1. Ask GPT to produce a formula or math expression which contains multiplication. In Discord, this will be formatted as '\cdot'
  2. See screenshot for comparison between ChatGPT Web(left) and Discord(right)

Expected behaviour I do not believe Discord can handle the native formatting, so a way to convert it to readable symbols would be nice. I'm not fully sure what the best method for this would be for Discord's Markdown.

Screenshots image

ObiAU commented 6 months ago

Is this fixed yet? I can look into it. Keen to make some contributions to this project

Kav-K commented 6 months ago

@ObiAU Hey! It hasn't been looked into yet, would be great if you can take a look! This is something I think could be solved with some sort of latex formatting system?