Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/langchain-ai/langchain
/ run_query
Function
run_query
templates/sql-llama2/sql_llama2/chain.py:28–29 ·
view source on GitHub ↗
(query)
Source
from the content-addressed store, hash-verified
26
27
28
def
run_query(query):
29
return
db.run(query)
30
31
32
template_query =
""
"Based on the table schema below, write a SQL query that would answer the user&
#x27;s question:
Callers
nothing calls this directly
Calls
1
run
Method · 0.45
Tested by
no test coverage detected