MCPcopy Create free account
hub / github.com/Chainlit/cookbook / chain

Function chain

bigquery/app.py:112–116  ·  view source on GitHub ↗
(human_query: str)

Source from the content-addressed store, hash-verified

110
111@cl.step(type="run")
112async def chain(human_query: str):
113 sql_query = await gen_query(human_query)
114 table = await execute_query(sql_query)
115 analysis = await analyze(table)
116 return analysis
117
118
119@cl.on_message

Callers 1

mainFunction · 0.85

Calls 3

gen_queryFunction · 0.85
execute_queryFunction · 0.85
analyzeFunction · 0.85

Tested by

no test coverage detected