feat(llm): add LLM-aided formula and text correction

- Add LLM-aided formula and text correction functionality
- Update config reader to include LLM-aided settings
- Create new LLM-aided processing module
- Update main processing script to incorporate LLM-aided corrections
- Modify download scripts to check for new config version
This commit is contained in:
myhloli
2024-12-24 14:33:35 +08:00
parent c638fc5d1f
commit c660fdc8f0
9 changed files with 106 additions and 6 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def download_and_modify_json(url, local_filename, modifications):
if os.path.exists(local_filename):
data = json.load(open(local_filename))
config_version = data.get('config_version', '0.0.0')
if config_version < '1.0.0':
if config_version < '1.1.0':
data = download_json(url)
else:
data = download_json(url)
+1 -1
View File
@@ -16,7 +16,7 @@ def download_and_modify_json(url, local_filename, modifications):
if os.path.exists(local_filename):
data = json.load(open(local_filename))
config_version = data.get('config_version', '0.0.0')
if config_version < '1.0.0':
if config_version < '1.1.0':
data = download_json(url)
else:
data = download_json(url)