File tree Expand file tree Collapse file tree
portkey_ai/llms/langchain Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717try :
1818 from langchain .callbacks .manager import CallbackManagerForLLMRun
19- from langchain_community .chat_models .base import SimpleChatModel
19+ from langchain .chat_models .base import SimpleChatModel
2020 from langchain .pydantic_v1 import Field , PrivateAttr
2121 from langchain .schema .messages import (
2222 AIMessage ,
Original file line number Diff line number Diff line change 77
88from tests .utils import read_json_file
99from portkey_ai .langchain import LangchainCallbackHandler
10- from langchain_community .chat_models import ChatOpenAI
10+ from langchain .chat_models import ChatOpenAI
1111from langchain_core .prompts import ChatPromptTemplate
12- from langchain_classic .chains import LLMChain
12+ from langchain .chains import LLMChain
1313
1414api_key = os .environ .get ("PORTKEY_API_KEY" )
1515
You can’t perform that action at this time.
0 commit comments