Skip to content

Commit

Permalink
fix: fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WinstonLiyt authored Sep 26, 2024
1 parent 91b0b1f commit bdb7c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdagent/scenarios/kaggle/proposal/proposal.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, scen: Scenario) -> Tuple[dict, bool]:
self.initial_performance = 0.0

def generate_RAG_content(self, trace: Trace, hypothesis_and_feedback: str) -> str:
if self.scem.if_using_vector_rag:
if self.scen.if_using_vector_rag:
rag_results, _ = self.scen.vector_base.search_experience(hypothesis_and_feedback, topk_k=5)
return "\n".join([doc.content for doc in rag_results])
if self.scen.if_using_graph_rag is False or trace.knowledge_base is None:
Expand Down

0 comments on commit bdb7c1b

Please sign in to comment.