Skip to content

Commit

Permalink
Fix encoding issue: Ensure non-ASCII characters are correctly represe… (
Browse files Browse the repository at this point in the history
#1446)

Fix encoding issue: Ensure non-ASCII characters are correctly represented in entity name key

Co-authored-by: Alonso Guevara <[email protected]>
  • Loading branch information
nauyiahc and AlonsoGuevara authored Nov 26, 2024
1 parent ae796b9 commit 2b7d289
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async def _summarize_descriptions_with_llm(
self._summarization_prompt,
name="summarize",
variables={
self._entity_name_key: json.dumps(items),
self._entity_name_key: json.dumps(items, ensure_ascii=False),
self._input_descriptions_key: json.dumps(
sorted(descriptions), ensure_ascii=False
),
Expand Down

0 comments on commit 2b7d289

Please sign in to comment.