langchain
143049c9 - Added partial_variables to BaseStringMessagePromptTemplate.from_template(...) (#13645)

Commit
2 years ago
Added partial_variables to BaseStringMessagePromptTemplate.from_template(...) (#13645) **Description:** BaseStringMessagePromptTemplate.from_template was passing the value of partial_variables into cls(...) via **kwargs, rather than passing it to PromptTemplate.from_template. Which resulted in those *partial_variables being* lost and becoming required *input_variables*. Co-authored-by: Josep Pon Farreny <josep.pon-farreny@siemens.com> Co-authored-by: Bagatur <baskaryan@gmail.com>
Author
Parents
Loading