from climateqa.engine.llm.openai import get_llm as get_openai_llm | |
def get_llm(provider="openai", **kwargs): | |
if provider == "openai": | |
return get_openai_llm(**kwargs) | |
else: | |
raise ValueError(f"Unknown provider: {provider}") | |
from climateqa.engine.llm.openai import get_llm as get_openai_llm | |
def get_llm(provider="openai", **kwargs): | |
if provider == "openai": | |
return get_openai_llm(**kwargs) | |
else: | |
raise ValueError(f"Unknown provider: {provider}") | |