In metta-motto we have llm command, but langchain has methods with arguments named llm,
so I've add some fix for cases
!(bind! &chain (( py-atom langchain.chains.LLMChain )(Kwargs ("llm" &model) (prompt &prompt))))
without this changes llm will be added with quotes into the list of parameterst.
In metta-motto we have llm command, but langchain has methods with arguments named llm, so I've add some fix for cases !(bind! &chain (( py-atom langchain.chains.LLMChain )(Kwargs ("llm" &model) (prompt &prompt))))
without this changes llm will be added with quotes into the list of parameterst.