UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 58: ordinal not in range(128)
The detailed error message is:
(input_keys={'question'}) with <function gsm8k_metric at 0x7f0873e0cd30> due to 'ascii' codec can't encode character '\u2019' in position 58: ordinal not in range(128). [dspy.teleprompt.bootstrap] filename=bootstrap.py lineno=211
Hi @spidercatfly , this is not DSPy related, but you can try changing the encoding to support unicode/UTF-8 to fix this within the data in the trainset.
Awesome job on the project!
However, I encountered an issue while following the "Minimal Working Example". When I run the following code:
I receive the following error:
The detailed error message is:
Could you please help me resolve this issue?
Thanks for your assistance!