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.
langchain/tests/unit_tests/prompts
Mohammad Mohtashim 7d92e9407b
Jinja2 validation changed to issue warnings rather than issuing exceptions. (#7161)
- Description: If their are missing or extra variables when validating
Jinja 2 template then a warning is issued rather than raising an
exception. This allows for better flexibility for the developer as
described in #7044. Also changed the relevant test so pytest is checking
for raised warnings rather than exceptions.
  - Issue: #7044 
  - Tag maintainer: @hwchase17, @baskaryan

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
1 year ago
..
__init__.py add few shot example (#148) 2 years ago
test_chat.py Harrison/split schema dir (#7025) 1 year ago
test_few_shot.py Jinja2 validation changed to issue warnings rather than issuing exceptions. (#7161) 1 year ago
test_few_shot_with_templates.py Harrison/prompt template prefix (#888) 2 years ago
test_length_based_example_selector.py fix length based example selector (#862) 2 years ago
test_loading.py Doc refactor (#6300) 1 year ago
test_pipeline_prompt.py Harrison/pipeline prompt (#5540) 1 year ago
test_prompt.py Jinja2 validation changed to issue warnings rather than issuing exceptions. (#7161) 1 year ago
test_utils.py Bug Fix (#221) 2 years ago