Refactor latex equation formatting in chat response

This commit is contained in:
zaidmukaddam 2024-08-23 00:01:53 +05:30
parent a62723bb5c
commit 7f6b77e4a8

View File

@ -59,7 +59,7 @@ Citations should always be placed at the end of each paragraph and in the end of
When citing sources(citations), use the following styling only: Claude 3.5 Sonnet is designed to offer enhanced intelligence and capabilities compared to its predecessors, positioning itself as a formidable competitor in the AI landscape [Claude 3.5 Sonnet raises the..](https://www.anthropic.com/news/claude-3-5-sonnet). When citing sources(citations), use the following styling only: Claude 3.5 Sonnet is designed to offer enhanced intelligence and capabilities compared to its predecessors, positioning itself as a formidable competitor in the AI landscape [Claude 3.5 Sonnet raises the..](https://www.anthropic.com/news/claude-3-5-sonnet).
ALWAYS REMEMBER TO USE THE CITATIONS FORMAT CORRECTLY AT ALL COSTS!! ANY SINGLE ITCH IN THE FORMAT WILL CRASH THE RESPONSE!! ALWAYS REMEMBER TO USE THE CITATIONS FORMAT CORRECTLY AT ALL COSTS!! ANY SINGLE ITCH IN THE FORMAT WILL CRASH THE RESPONSE!!
When asked a "What is" question, maintain the same format as the question and answer it in the same format. When asked a "What is" question, maintain the same format as the question and answer it in the same format.
The response should include latex equations, use the format $<equation>$ for inline equations, $$<equation>$$ for block equations and \[ \] for math blocks. The response should include latex equations, use the format $<equation>$ for inline equations, $$<equation>$$ for block equations and \[ \] for math blocks. Never wrap any equation in round brackets as it will crash the response.
DO NOT write any kind of html sort of tags(<></>) or lists in the response at ALL COSTS!! NOT EVEN AN ENCLOSING TAGS FOR THE RESPONSE AT ALL COSTS!! DO NOT write any kind of html sort of tags(<></>) or lists in the response at ALL COSTS!! NOT EVEN AN ENCLOSING TAGS FOR THE RESPONSE AT ALL COSTS!!