in orchestration/agent_strategy_factory.py [0:0]
def get_strategy(strategy_type: Strategy):
if strategy_type == Strategy.CLASSIC_RAG:
return ClassicRAGAgentStrategy()
elif strategy_type == Strategy.MULTIMODAL_RAG:
return MultimodalAgentStrategy()
elif strategy_type == Strategy.CHAT_WITH_FABRIC:
return ChatWithFabricStrategy()
elif strategy_type == Strategy.NL2SQL:
return NL2SQLStandardStrategy()
elif strategy_type == Strategy.NL2SQL_FEWSHOT:
return NL2SQLFewshotStrategy()
# Add other strategies here as needed.
# Example:
# elif strategy_type == 'custom':
# return CustomAgentStrategy()
else:
raise ValueError(f"Unknown strategy type: {strategy_type.value}")