dspy icon indicating copy to clipboard operation
dspy copied to clipboard

The results obtained from dspy are all in English, how should the results be obtained in Chinese

Open shilei4260 opened this issue 1 year ago • 1 comments

shilei4260 avatar Aug 16 '24 08:08 shilei4260

可以在声明dspy.Signature时,指明输出为中文,比如: answer: str = dspy.OutputField(desc='使用中文描述答案')

mepwang avatar Aug 19 '24 01:08 mepwang

Adapters in 2.5 make this easy in other ways too!

okhat avatar Sep 27 '24 19:09 okhat