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/libs
SN acc457f645
core[patch]: fix nested sections for mustache templating (#23747)
The prompt template variable detection only worked for singly-nested
sections because we just kept track of whether we were in a section and
then set that to false as soon as we encountered an end block. i.e. the
following:

```
{{#outerSection}}
    {{variableThatShouldntShowUp}}
    {{#nestedSection}}
        {{nestedVal}}
    {{/nestedSection}}
    {{anotherVariableThatShouldntShowUp}}
{{/outerSection}}
```

Would yield `['outerSection', 'anotherVariableThatShouldntShowUp']` as
input_variables (whereas it should just yield `['outerSection']`). This
fixes that by keeping track of the current depth and using a stack.
3 months ago
..
cli docs: standardize azure openai page (#23642) 3 months ago
community community[patch]: Update @root_validators to use explicit pre=True or pre=False (#23737) 3 months ago
core core[patch]: fix nested sections for mustache templating (#23747) 3 months ago
experimental experimental: LLMGraphTransformer add missing conditional adding restrictions to prompts for LLM that do not support function calling (#22793) 3 months ago
langchain langchain[patch]: deprecate ConversationChain (#23504) 3 months ago
partners partners: support reading HuggingFace params from env (#23309) 3 months ago
standard-tests standard-tests[patch]: add anthropic format integration test (#23717) 3 months ago
text-splitters text-splitters: release 0.2.2 (#23508) 3 months ago