chore: minor clean up / formatting (#233)

to get familiarize with the project
This commit is contained in:
Xupeng (Tony) Tong
2022-12-02 02:50:36 +08:00
committed by GitHub
parent 473943643e
commit bb4bf9d6d0
18 changed files with 51 additions and 32 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class SQLDatabaseChain(Chain, BaseModel):
def _call(self, inputs: Dict[str, str]) -> Dict[str, str]:
llm_chain = LLMChain(llm=self.llm, prompt=PROMPT)
chained_input = ChainedInput(
inputs[self.input_key] + "\nSQLQuery:", verbose=self.verbose
f"{inputs[self.input_key]} \nSQLQuery:", verbose=self.verbose
)
llm_inputs = {
"input": chained_input.input,