Hi all,
I am trying to build a math assistant with assistant beta version, the output format that i am getting from the assistant is like this:
Substituting ( d = 28.5 \sqrt{3} ) into the second equation:
[ 28.5 \sqrt{3} - x = 9.5 \sqrt{3} ]
[ x = 28.5 \sqrt{3} - 9.5 \sqrt{3} ]
[ x = 19 \sqrt{3} ]
Therefore, the distance the boy walked towards the building is ( 19 \sqrt{3} ) meter
as you can see, this looks like a latex format , and i have tried to use Display(Latex(assistant_resp)) to beautify this text. but still i am getting my response like this :
Substituting ( d = 28.5 \sqrt{3} ) into the second equation: [ 28.5 \sqrt{3} - x = 9.5 \sqrt{3} ] [ x = 28.5 \sqrt{3} - 9.5 \sqrt{3} ] [ x = 19 \sqrt{3} ]
Therefore, the distance the boy walked towards the building is ( 19 \sqrt{3} ) meters.
as you can still see, there is still some symbols like square root, fractions these are still not converted.
is there any python library to convert the format to display just like in original chatgpt web interface.
FYI i am using vscode and ipynb note book to run this.
please suggest me any better way to display the assistant response .
Thanks