chore: updated default value in triplet retriever constructor
This commit is contained in:
parent
ee00af9266
commit
610b30579b
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class TripletRetriever(BaseRetriever):
|
|||
"""Initialize retriever with optional custom prompt paths."""
|
||||
self.user_prompt_path = user_prompt_path
|
||||
self.system_prompt_path = system_prompt_path
|
||||
self.top_k = top_k if top_k is not None else 1
|
||||
self.top_k = top_k if top_k is not None else 5
|
||||
self.system_prompt = system_prompt
|
||||
|
||||
async def get_context(self, query: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue