Closed jimliu-newbd closed 2 weeks ago
奈米建議: 有的地方是用model,但有的地方用llm
model = AzureChatOpenAI( azure_endpoint=config.get("AZURE_OPENAI_ENDPOINT"), azure_deployment=config.get("AZURE_OPENAI_DEPLOYMENT_NAME"), openai_api_version=config.get("AZURE_OPENAI_API_VERSION"), api_key=config.get("AZURE_OPENAI_KEY"), )
llm= AzureChatOpenAI( azure_endpoint=config.get("AZURE_OPENAI_ENDPOINT"), azure_deployment=config.get("AZURE_OPENAI_DEPLOYMENT_NAME"), openai_api_version=config.get("AZURE_OPENAI_API_VERSION"), api_key=config.get("AZURE_OPENAI_KEY"), )
這部份因涉及書本文字內容的描述,一旦調整程式碼會連帶造成與書本文字描述不同
奈米建議: 有的地方是用model,但有的地方用llm