Chainlit / literalai-python

https://docs.getliteral.ai/
Apache License 2.0
12 stars 0 forks source link

unescape html after mustache templating #81

Closed willydouhard closed 4 months ago

linear[bot] commented 4 months ago
ENG-1518 &quot issue in prompt playground

the following variable formatted ends up like this ``` standard_dict = { "item_name": [ { "tax_excluded": "float (montant de l'item, (attention pas le prix unitaire))", "vat_rate" : "float (taux de TVA en pourcentage, (les taux sont: 0, 2.1, 5.5, 8.5, 10, 13 ou 20))", "vat_rate_code" : "str (codes utilisés pour indiquer différents taux de TVA)", "quantity": "float (quantité)", } ],} standard_dict_str = json.dumps(standard_dict, ensure_ascii=False) ``` [Screenshot 2024-06-04 at 20.58.30.png](https://uploads.linear.app/6a41a374-76e1-40c2-a405-51050761590c/09fbb128-5649-4bbf-9dc3-8517e96258db/70cbd332-c3ad-4574-9b2b-f1558a363f8d) probably a monaco setting?