mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-06 09:55:21 +03:00
1.5 KiB
1.5 KiB
In [1]:
from langserve.client import RemoteRunnable
sql_app = RemoteRunnable("http://0.0.0.0:8001/sql_llamacpp")
sql_app.invoke({"question": "What team is Klay Thompson on?"})Out [1]:
'\nNatural Language Response: Klay Thompson plays for the Golden State Warriors.'