MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / step_get_ner_results

Method step_get_ner_results

gen_sql.py:224–233  ·  view source on GitHub ↗

step 1: get ner

(self, input_dict, mode)

Source from the content-addressed store, hash-verified

222 f.write("\n")
223
224 def step_get_ner_results(self, input_dict, mode):
225 """step 1: get ner"""
226 input_dict["ner_results"] = self.ner.run(input_dict["query"], self.dataset)
227 if mode == "debug":
228 print(input_dict["init_table_infos"])
229 print(input_dict["query"])
230 if mode == "debug":
231 print("---------------step 1: ner_results are---------------------")
232 print(input_dict["ner_results"])
233 return input_dict
234
235 def get_features_by_llm_concurrent(self, query, init_table_infos, limitation, metric, main_metric, lang_mode):
236 results = []

Callers 1

mainMethod · 0.95

Calls 1

runMethod · 0.80

Tested by

no test coverage detected