devv-ai / devv

An AI-powered search engine for developers.
https://devv.ai
1.32k stars 22 forks source link

Support $LaTeX$ syntax rendering #48

Open OldPanda opened 6 months ago

OldPanda commented 6 months ago

Is your feature request related to a problem? Please describe. The $LaTeX$ raw syntax is returned when asking a question like "example of Newton's method", which is almost unreadable to human beings.

image

Describe the solution you'd like Support $LaTeX$ syntax rendering in the response. For example, the first 2 lines of the 2nd paragraph can be like

首先,我们计算 $x_1$ 处的函数值 $f(x_1)$ 和导数值 $f'(x_1)$ : $f(x_1) = 2^2 - 2 = 2$, $\quad f'(x_1) = 2 \times 2 = 4$. 然后,我们使用牛顿迭代法的公式来计算下一个近似值 $x_2$ : $x_2 = x_1 - \frac{f(x_1)}{f'(x_1)} = 2 - \frac{2}{4} = \frac{3}{2} = 1.5$.

Additional context N/A

Bohan-J commented 6 months ago

收到,目前我们还没有支持 Latex 语句的渲染,预计会在下个月支持~