fix: dependencies (#416)

This commit is contained in:
cachho
2023-08-24 23:23:25 +02:00
committed by GitHub
parent d8d0e0e5d1
commit ed319531bf
6 changed files with 16 additions and 50 deletions

View File

@@ -68,7 +68,7 @@ class CustomApp(EmbedChain):
return CustomApp._get_azure_openai_answer(prompt, config)
except ImportError as e:
raise ImportError(e.msg) from None
raise ModuleNotFoundError(e.msg) from None
@staticmethod
def _get_openai_answer(prompt: str, config: ChatConfig) -> str: