experiment: using LLM for initial annotation

This commit is contained in:
2025-07-18 22:49:45 +02:00
parent 78355eb1d1
commit eacbb94a48
6 changed files with 182 additions and 26 deletions
+5 -1
View File
@@ -3,7 +3,6 @@ import io
import json
import os
import pickle
from typing import Optional
from typing import List, Dict
# Paths
@@ -78,3 +77,8 @@ def save_pickle(obj, path):
def load_pickle(path: str):
with open(path, "rb") as f:
return pickle.load(f)
def load_prompt() -> str:
with open(os.path.join(ROOT_DIR, 'prompt.txt'), 'r') as f:
return f.read()