Fix: correct misplaced ensure_ascii=False (#22997)
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
This commit is contained in:
parent
3328addb58
commit
5411fd3757
1 changed files with 1 additions and 2 deletions
|
|
@ -385,9 +385,8 @@ class QuestionClassifierNode(BaseNode):
|
||||||
text=QUESTION_CLASSIFIER_COMPLETION_PROMPT.format(
|
text=QUESTION_CLASSIFIER_COMPLETION_PROMPT.format(
|
||||||
histories=memory_str,
|
histories=memory_str,
|
||||||
input_text=input_text,
|
input_text=input_text,
|
||||||
categories=json.dumps(categories),
|
categories=json.dumps(categories, ensure_ascii=False),
|
||||||
classification_instructions=instruction,
|
classification_instructions=instruction,
|
||||||
ensure_ascii=False,
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue