mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-23 11:16:58 +00:00
Formatting on ntbks (#12576)
This commit is contained in:
@@ -22,8 +22,9 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"from langserve.client import RemoteRunnable\n",
|
"from langserve.client import RemoteRunnable\n",
|
||||||
|
"\n",
|
||||||
"llama2_function = RemoteRunnable(\"http://0.0.0.0:8001/llama2_functions\")\n",
|
"llama2_function = RemoteRunnable(\"http://0.0.0.0:8001/llama2_functions\")\n",
|
||||||
"llama2_function.invoke({\"question\":\"How does agent memory work?\"})"
|
"llama2_function.invoke({\"question\": \"How does agent memory work?\"})"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@@ -29,6 +29,7 @@
|
|||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"from langserve.client import RemoteRunnable\n",
|
"from langserve.client import RemoteRunnable\n",
|
||||||
|
"\n",
|
||||||
"rag_app = RemoteRunnable(\"http://0.0.0.0:8001/rag_chroma_private/\")\n",
|
"rag_app = RemoteRunnable(\"http://0.0.0.0:8001/rag_chroma_private/\")\n",
|
||||||
"rag_app.invoke(\"How does agent memory work?\")"
|
"rag_app.invoke(\"How does agent memory work?\")"
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user