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
Lucas Tucker cb79e80b0b
docs: standardize ChatHuggingFace (#22693)
**Updated ChatHuggingFace doc string as per issue #22296**:
"langchain_huggingface: updated docstring for ChatHuggingFace in
langchain_huggingface to match that of the description (in the appendix)
provided in issue #22296. "

**Issue:** This PR is in response to issue #22296, and more specifically
ChatHuggingFace model. In particular, this PR updates the docstring for
langchain/libs/partners/hugging_face/langchain_huggingface/chat_models/huggingface.py
by adding the following sections: Instantiate, Invoke, Stream, Async,
Tool calling, and Response metadata. I used the template from the
Anthropic implementation and referenced the Appendix of the original
issue post. I also noted that: langchain_community hugging face llms do
not work with langchain_huggingface's ChatHuggingFace model (at least
for me); the .stream(messages) functionality of ChatHuggingFace only
returned a block of response.

---------

Co-authored-by: lucast2021 <lucast2021@headroyce.org>
Co-authored-by: Bagatur <baskaryan@gmail.com>
4 months ago
..
cli couchbase: Add the initial version of Couchbase partner package (#22087) 4 months ago
community community[patch]: Add function response to graph cypher qa chain (#22690) 4 months ago
core core: add error message for non-structured llm to StructuredPrompt (#22684) 4 months ago
experimental multiple: get rid of pyproject extras (#22581) 4 months ago
langchain langchain[minor]: Add pgvector to list of supported vectorstores in self query retriever (#22678) 4 months ago
partners docs: standardize ChatHuggingFace (#22693) 4 months ago
standard-tests multiple: add `stop` attribute (#22573) 4 months ago
text-splitters Community[minor]: Add language parser for Elixir (#22742) 4 months ago