Closed RexsyBima closed 6 months ago
Hi @RexsyBima
I don't think the API provides an obvious way to force Bing Chat to output only code, but there a few things that you could try:
Precise
mode, typically its output is less wordyThe last tip could become a parameter in Sydney it self, but first I will need to check if it's consistent. That being said, I think it's worth trying it as, it should give you better results that using replace
.
ah got it, i think by found the consistent solution by adjusting the prompt to be more straightforward and using precise mode. Thanks!!
is it possible to get the value of the block code only? for an exampl, its the json data generated from my prompt
altho i can do it manually, my prompt is
and then
unfortunately this workaround is not consistent, sometimes its not working because Bing answer the question in different way