Skip to content

armgit / storm

Public Imported from GitHub
0

An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

Update citation_quality.py

Ikko Eltociear Ashimine85a1ee4c6356
diff --git a/eval/citation_quality.py b/eval/citation_quality.py
index f1b5fde..09812d4 100644
--- a/eval/citation_quality.py
+++ b/eval/citation_quality.py
@@ -260,7 +260,7 @@ def extract_url(text):
def expand_citaions(output):
"""
- Expand citations by folloing rule:
+ Expand citations by following rule:
1. convert "<sentence 1>. <sentence 2> [2][3]" into "<sentence 1> [2][3]"
2. "<sentence 1>[1]. <last paragraph senetence>" will be changed to "<sentence 1>[1]. <last paragraph senetence>[1]. "
"""