mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-01 09:27:43 +00:00
fix: fix a typo (#362)
This commit is contained in:
@@ -94,7 +94,7 @@ class KGHypothesisGen(ModelHypothesisGen):
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user