Skip to content

The agent engineering platform.

Update README.md (#19172)

Matt Frediani160a7077b013
diff --git a/templates/openai-functions-tool-retrieval-agent/README.md b/templates/openai-functions-tool-retrieval-agent/README.md
index 911002bbef..b4b2c5faa6 100644
--- a/templates/openai-functions-tool-retrieval-agent/README.md
+++ b/templates/openai-functions-tool-retrieval-agent/README.md
@@ -36,7 +36,7 @@ langchain app add openai-functions-tool-retrieval-agent
And add the following code to your `server.py` file:
```python
-from openai_functions_tool_retrieval_agent import chain as openai_functions_tool_retrieval_agent_chain
+from openai_functions_tool_retrieval_agent import agent_executor as openai_functions_tool_retrieval_agent_chain
add_routes(app, openai_functions_tool_retrieval_agent_chain, path="/openai-functions-tool-retrieval-agent")
```
@@ -71,4 +71,4 @@ We can access the template from code with:
from langserve.client import RemoteRunnable
runnable = RemoteRunnable("http://localhost:8000/openai-functions-tool-retrieval-agent")
-```
\ No newline at end of file
+```