MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / run_chain

Function run_chain

common/common.py:16–19  ·  view source on GitHub ↗
(llm, prompt, param_dicts)

Source from the content-addressed store, hash-verified

14
15
16def run_chain(llm, prompt, param_dicts):
17 chain = LLMChain(llm=llm, prompt=prompt)
18 output = chain.run(**param_dicts)
19 return output
20
21
22def get_prompt(inputs, template):

Callers

nothing calls this directly

Calls 1

runMethod · 0.80

Tested by

no test coverage detected