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/partners
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>
3 months ago
..
ai21 multiple: implement ls_params (#22621) 3 months ago
airbyte airbyte[patch]: airbyte-cdk compatible pydantic versions (#21738) 4 months ago
anthropic anthropic: refactor streaming to use events api; add streaming usage metadata (#22628) 3 months ago
azure-dynamic-sessions docs: add aca-ds (#21746) 4 months ago
chroma docs: Chroma docstrings update (#22001) 4 months ago
couchbase couchbase: Add the initial version of Couchbase partner package (#22087) 3 months ago
exa multiple: releases with relaxed core dep (#21724) 4 months ago
fireworks multiple: implement ls_params (#22621) 3 months ago
groq multiple: implement ls_params (#22621) 3 months ago
huggingface docs: standardize ChatHuggingFace (#22693) 3 months ago
ibm ibm[patch]: release 0.1.7 (#21737) 4 months ago
milvus milvus[patch]: Release 0.1.1 (#22499) 3 months ago
mistralai mistralai[patch]: Release 0.1.8 (#22494) 3 months ago
mongodb mongodb[patch]: Release 0.1.6 (#22501) 3 months ago
nomic nomic[patch]: Release 0.1.2 (#22561) 3 months ago
openai openai: add `parallel_tool_calls` to api ref (#22746) 3 months ago
pinecone community, milvus, pinecone, qdrant, mongo: Broadcast operation failure while using simsimd beyond v3.7.7 (#22271) 3 months ago
prompty docs: fix some spelling mistakes caught by newest version of code spell (#22090) 4 months ago
qdrant qdrant[patch]: Make path optional in from_existing_collection() (#21875) 3 months ago
robocorp robocorp: typo (#22509) 3 months ago
together together: bump langchain-core (#22616) 3 months ago
upstage together, upstage: bump minimum langchain-openai version (#22505) 3 months ago
voyageai partners: Remove unnecessary print from voyageai embeddings (#21865) 4 months ago