MCPcopy
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
28def run_query(query):
29 return db.run(query)
30
31
32template_query = """Based on the table schema below, write a SQL query that would answer the user's question:

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected