Polish project documentation and runtime config

This commit is contained in:
2026-06-09 10:22:59 +08:00
parent 5f061295d8
commit 0594fc9f8c
43 changed files with 1001 additions and 97 deletions

View File

@@ -14,6 +14,8 @@ from falkordb import FalkorDB
from psycopg.rows import dict_row
from psycopg.types.json import Jsonb
from common_paths import TRAVEL_DELIVERY_ROOT, TRAVEL_KG_EXPORT_ROOT
DB_URL = "postgresql://admin:password@localhost:5433/kg_admin"
DB_SCHEMA = "kg_admin_new2"
@@ -22,10 +24,10 @@ PROJECT_ID = "travel_agency_2_0_test"
GRAPH_NAME = "travel_agency_2_0_test"
TEMPLATE_ID = "travel_agency_2_0_poi_nearby_import_without_amap_v1"
SOURCE_DIR = Path("/Users/xuexue/Documents/trae_projects/travel- graph/delivery_20260602")
SOURCE_DIR = TRAVEL_DELIVERY_ROOT
HOTEL_FILE = SOURCE_DIR / "hotel_poi.csv"
RESTAURANT_FILE = SOURCE_DIR / "restaurant_poi.csv"
OUT_DIR = Path("/Users/xuexue/Downloads/图谱数据/travel_agency_2_0_test_旅行社2.0测试/poi_nearby_import_without_amap")
OUT_DIR = TRAVEL_KG_EXPORT_ROOT / "travel_agency_2_0_test_旅行社2.0测试/poi_nearby_import_without_amap"
RUN_UPDATED_AT = datetime.now().strftime("%Y-%m-%d %H:%M:%S")