Skip to content

Commit 1eec912

Browse files
fix: Update script variables and enhance processing with agent framework
1 parent 673ff45 commit 1eec912

File tree

3 files changed

+371
-262
lines changed

3 files changed

+371
-262
lines changed

infra/scripts/index_scripts/03_cu_process_data_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ async def process_files():
332332
response = cu_client.begin_analyze(ANALYZER_ID, file_location="", file_data=data)
333333
result = cu_client.poll_result(response)
334334
file_name = path.name.split('/')[-1].replace("%3A", "_")
335-
if USE_CASE == 'telecom':
335+
if USE_CASE == 'telecom':
336336
start_time = file_name.replace(".json", "")[-19:]
337337
timestamp_format = "%Y-%m-%d %H_%M_%S"
338-
else:
338+
else:
339339
start_time = file_name.replace(".json", "")[-16:]
340340
timestamp_format = "%Y-%m-%d%H%M%S"
341341
start_timestamp = datetime.strptime(start_time, timestamp_format)

0 commit comments

Comments
 (0)