Method__init__(self, config, system_prompt="", user_prompt="", reference_template=None, enable_chat=True)
src/flashrag/prompt/base_prompt.py:14
Method__init__(
self,
retrieval_method,
model_path,
corpus_path,
save_dir,
src/flashrag/retriever/index_builder.py:20
Method__init__(self, model_name, model_path, pooling_method, max_length, use_fp16, instruction)
src/flashrag/retriever/encoder.py:27
Method__init__(self, model_name, model_path, max_length, use_fp16, instruction)
src/flashrag/retriever/encoder.py:104