langchain/libs/core/langchain_core
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.
2024-07-02 10:20:45 -07:00
..
_api core[patch]: fix validation of @deprecated decorator (#22513) 2024-06-14 16:52:30 +00:00
beta
callbacks core[patch]: callbacks docstrings (#23375) 2024-06-26 17:11:06 -04:00
document_loaders core[minor]: Create BaseMedia object (#23639) 2024-07-01 15:07:30 -04:00
documents core[minor]: Create BaseMedia object (#23639) 2024-07-01 15:07:30 -04:00
embeddings core[patch]: Document embeddings namespace (#23132) 2024-06-19 10:11:16 -04:00
example_selectors core: docstrings example_selectors (#23542) 2024-06-26 17:10:40 -04:00
indexing core[minor]: Adds an in-memory implementation of RecordManager (#13200) 2024-06-20 12:19:10 -04:00
language_models core[patch]: Fix llm string representation for serializable models (#23416) 2024-07-01 14:06:33 -04:00
load core: add RemoveMessage (#23636) 2024-06-28 14:40:02 -07:00
messages core: add RemoveMessage (#23636) 2024-06-28 14:40:02 -07:00
output_parsers core[patch]: export tool output parsers from langchain_core.output_parsers (#23305) 2024-06-25 14:40:42 -04:00
outputs core[patch]: Add doc-strings to outputs, fix @root_validator (#23190) 2024-06-19 14:59:06 -04:00
prompts core[patch]: fix nested sections for mustache templating (#23747) 2024-07-02 10:20:45 -07:00
pydantic_v1 multiple: get rid of pyproject extras (#22581) 2024-06-06 15:45:22 -07:00
runnables core[patch]: use async messages where possible (#23718) 2024-07-01 18:33:05 +00:00
tracers [Core] Logging: Suppress missing parent warning (#23363) 2024-06-25 14:57:23 -04:00
utils [Core] Add support for inferring Annotated types (#23284) 2024-06-21 15:16:30 -07:00
__init__.py
agents.py core[patch]: docstrings agents (#23502) 2024-06-26 17:50:48 -04:00
caches.py core[minor]: Add maxsize for InMemoryCache (#23405) 2024-07-01 14:21:21 -04:00
chat_history.py core: chat_* docstrings (#23412) 2024-06-27 17:29:38 -04:00
chat_loaders.py core: chat_* docstrings (#23412) 2024-06-27 17:29:38 -04:00
chat_sessions.py core: chat_* docstrings (#23412) 2024-06-27 17:29:38 -04:00
env.py
exceptions.py core[patch]: docstrings agents (#23502) 2024-06-26 17:50:48 -04:00
globals.py core[patch]: docstrings agents (#23502) 2024-06-26 17:50:48 -04:00
memory.py core[patch]: docstrings agents (#23502) 2024-06-26 17:50:48 -04:00
prompt_values.py core[patch]: docstrings agents (#23502) 2024-06-26 17:50:48 -04:00
py.typed
retrievers.py core[patch]: docstrings agents (#23502) 2024-06-26 17:50:48 -04:00
stores.py core[patch]: docstrings agents (#23502) 2024-06-26 17:50:48 -04:00
structured_query.py
sys_info.py
tools.py core[patch]: use args_schema doc for tool description (#23503) 2024-06-25 15:26:35 -07:00
vectorstores.py core[patch]: Add versionadded to get_by_ids (#23728) 2024-07-01 15:16:00 -04:00