Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
axiomofjoy committed Oct 30, 2024
1 parent d36d154 commit 7f13acf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tutorials/tracing/langchain_agent_tracing_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install \"langchain>=0.0.334\" langchain-community \"openai>=1\" numexpr arize-phoenix openinference-instrumentation-langchain"
"!pip install langchain langchain-community langchain-openai openai numexpr arize-phoenix openinference-instrumentation-langchain"
]
},
{
Expand All @@ -63,8 +63,8 @@
"import openai\n",
"from langchain.agents import AgentType, Tool, initialize_agent\n",
"from langchain.chains import LLMMathChain\n",
"from langchain.chat_models import ChatOpenAI\n",
"from langchain.prompts import ChatPromptTemplate, MessagesPlaceholder\n",
"from langchain_openai import ChatOpenAI\n",
"from openinference.instrumentation.langchain import LangChainInstrumentor\n",
"\n",
"import phoenix as px\n",
Expand Down Expand Up @@ -153,7 +153,7 @@
"metadata": {},
"outputs": [],
"source": [
"llm = ChatOpenAI(temperature=0, model=\"gpt-3.5-turbo-0613\")"
"llm = ChatOpenAI(temperature=0)"
]
},
{
Expand Down Expand Up @@ -233,7 +233,6 @@
"metadata": {},
"outputs": [],
"source": [
"llm = ChatOpenAI(temperature=0, model=\"gpt-3.5-turbo-0613\")\n",
"agent_executor = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, verbose=True)"
]
},
Expand Down

0 comments on commit 7f13acf

Please sign in to comment.