MCPcopy Create free account
hub / github.com/cwxndl/LLM / process_none

Function process_none

utils/data_preprocess.py:44–47  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

42 return chunk_data
43
44def process_none(s: str) -> str: #处理空数据函数
45 if s:
46 return s
47 return ""
48
49def gen_baike(origin_file):
50 baike_items = []

Callers 1

gen_baikeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected