Files
langchain/tests/unit_tests
charosen 75fe9d3555 Add from_file method to message prompt template (#4713)
**Feature**: This PR adds `from_template_file` class method to
BaseStringMessagePromptTemplate. This is useful to help user to create
message prompt templates directly from template files, including
`ChatMessagePromptTemplate`, `HumanMessagePromptTemplate`,
`AIMessagePromptTemplate` & `SystemMessagePromptTemplate`.

**Tests**: Unit tests have been added in this PR.

Co-authored-by: charosen <charosen@bupt.cn>
Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
2023-05-16 16:25:17 -07:00
..
2023-05-13 21:47:10 -07:00
2023-04-30 11:14:09 -07:00
2023-05-11 15:34:06 -07:00
2023-05-01 20:55:56 -07:00
2023-04-24 19:54:15 -07:00
2022-10-24 14:51:15 -07:00
2023-05-12 11:54:40 -07:00
2022-10-24 14:51:15 -07:00