mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-07 10:25:17 +03:00
1.5 KiB
1.5 KiB
In [15]:
from langserve.client import RemoteRunnable
sql_app = RemoteRunnable("http://0.0.0.0:8001/sql_llama2")
sql_app.invoke({"question": "What team is Klay Thompson on?"})Out [15]:
" Sure thing! Here's the natural language response based on the given SQL query and response:\n\nKlay Thompson plays for the Golden State Warriors."