forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75fe9d3555
**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> |
1 year ago | |
---|---|---|
.. | ||
example_selector | 1 year ago | |
__init__.py | 1 year ago | |
base.py | 1 year ago | |
chat.py | 1 year ago | |
few_shot.py | 1 year ago | |
few_shot_with_templates.py | 1 year ago | |
loading.py | 1 year ago | |
prompt.py | 1 year ago |