Skip to content

Commit

Permalink
fix: remove unused customknowledge assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgzn committed Oct 14, 2024
1 parent 54176bd commit f2c56c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/agentscope/rag/knowledge_bank.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ def add_data_as_knowledge(
"please check your knowledge config",
)

CustomKnowledge = None
if "llama_index" in backend_engine:
CustomKnowledge = LlamaIndexKnowledge
logger.info("Using llama_index backend engine")
Expand Down

0 comments on commit f2c56c0

Please sign in to comment.