MCPcopy Create free account
hub / github.com/Alibaba-NLP/ViDoRAG / search_example

Method search_example

search_engine.py:195–199  ·  view source on GitHub ↗
(self,example)

Source from the content-addressed store, hash-verified

193 return nodes2dict(recall_results_output)
194
195 def search_example(self,example):
196 query = example['query']
197 recall_result = self.search(query)
198 example['recall_result'] = recall_result
199 return example
200
201 def search_multi_session(self,output_file='search_result.json'):
202 os.makedirs(self.output_dir, exist_ok=True)

Callers 1

search_multi_sessionMethod · 0.95

Calls 1

searchMethod · 0.95

Tested by

no test coverage detected