mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-11 12:25:12 +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_ollama")
sql_app.invoke({"question": "What team is Klay Thompson on?"})Out [1]:
AIMessage(content=' Sure! Here\'s the natural language response based on the input:\n\n"Klay Thompson plays for the Golden State Warriors."')