mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-02 03:26:17 +00:00
AWS Bedrock RAG template (#12450)
This commit is contained in:
@@ -5,7 +5,12 @@
|
||||
"id": "681a5d1e",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## Connect to template"
|
||||
"## Connect to template\n",
|
||||
"\n",
|
||||
"In `server.py`, set -\n",
|
||||
"```\n",
|
||||
"add_routes(app, chain_ext, path=\"/rag_pinecone\")\n",
|
||||
"```"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -16,7 +21,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langserve.client import RemoteRunnable\n",
|
||||
"rag_app_pinecone = RemoteRunnable('http://localhost:8000/rag-pinecone')\n",
|
||||
"rag_app_pinecone = RemoteRunnable('http://0.0.0.0:8001/rag_pinecone')\n",
|
||||
"rag_app_pinecone.invoke(\"How does agent memory work?\")"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user