langchain/libs
ccurme 6db25b4e31
core[patch]: bump langsmith (#22476)
Noticing errors logged in some situations when tracing with Langsmith:
```python
from langchain_core.pydantic_v1 import BaseModel
from langchain_anthropic import ChatAnthropic


class AnswerWithJustification(BaseModel):
    """An answer to the user question along with justification for the answer."""
    answer: str
    justification: str


llm = ChatAnthropic(model="claude-3-haiku-20240307")
structured_llm = llm.with_structured_output(AnswerWithJustification)

list(structured_llm.stream("What weighs more a pound of bricks or a pound of feathers"))
```
```
Error in LangChainTracer.on_chain_end callback: AttributeError("'NoneType' object has no attribute 'append'")
[AnswerWithJustification(answer='A pound of bricks and a pound of feathers weigh the same amount.', justification='This is because a pound is a unit of mass, not volume. By definition, a pound of any material, whether bricks or feathers, will weigh the same - one pound. The physical size or volume of the materials does not matter when measuring by mass. So a pound of bricks and a pound of feathers both weigh exactly one pound.')]
```
2024-06-04 10:05:53 -07:00
..
cli docs, cli[patch]: chat model template nit (#22294) 2024-05-29 20:53:58 +00:00
community community[patch]: deprecate all HF classes (#22444) 2024-06-04 09:48:25 -07:00
core core[patch]: bump langsmith (#22476) 2024-06-04 10:05:53 -07:00
experimental [experimental][llms][ollama_functions] Update OllamaFunctions to send tool_calls attribute (#21625) 2024-05-29 09:38:33 -04:00
langchain langchain[patch]: Fix MongoDBAtlasVectorSearch reference in self query retriever (#22401) 2024-06-03 22:10:15 +00:00
partners huggingface[patch]: Support for HuggingFacePipeline in ChatHuggingFace. (#22194) 2024-06-04 00:47:35 +00:00
standard-tests core, partners: add token usage attribute to AIMessage (#21944) 2024-05-23 14:21:58 -04:00
text-splitters text-splitters[patch]: fix HTMLSectionSplitter parsing of xslt paths (#22176) 2024-06-03 20:26:59 +00:00