fix: remove debug logging (#379)

This commit is contained in:
cachho
2023-07-27 15:55:00 +02:00
committed by GitHub
parent 079e35b205
commit a868fce036

View File

@@ -74,8 +74,6 @@ class CustomApp(EmbedChain):
def _get_openai_answer(prompt: str, config: ChatConfig) -> str:
from langchain.chat_models import ChatOpenAI
logging.info(vars(config))
chat = ChatOpenAI(
temperature=config.temperature,
model=config.model or "gpt-3.5-turbo",
@@ -120,8 +118,6 @@ class CustomApp(EmbedChain):
def _get_azure_openai_answer(prompt: str, config: ChatConfig) -> str:
from langchain.chat_models import AzureChatOpenAI
logging.info(vars(config))
chat = AzureChatOpenAI(
deployment_name="td2",
model_name=config.model or "text-davinci-002",