MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / parse_args

Function parse_args

methods/self_rag.py:280–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278
279# Argument parsing functions
280def parse_args():
281 import argparse
282 parser = argparse.ArgumentParser(description="Self-RAG method")
283 parser.add_argument('--path', type=str, default='../data/Understanding_Climate_Change.pdf',
284 help='Path to the PDF file for vector store')
285 parser.add_argument('--query', type=str, default='What is the impact of climate change on the environment?',
286 help='Query to be processed')
287 return parser.parse_args()
288
289
290# Main entry point

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected