langchain/libs/community/langchain_community
Gabriel Altay bb40a0fb32
Remove pydantic restricted namespaces from HuggingFaceInferenceAPIEmbedings (#26744)
without this `model_config` importing this package produces warnings
about "model_name" having conflicts with protected namespace "model_".

Thank you for contributing to LangChain!

- [ ] **PR title**: "package: description"
- Where "package" is whichever of langchain, community, core,
experimental, etc. is being modified. Use "docs: ..." for purely docs
changes, "templates: ..." for template changes, "infra: ..." for CI
changes.
  - Example: "community: add foobar LLM"


- [ ] **PR message**: ***Delete this entire checklist*** and replace
with
    - **Description:** a description of the change
    - **Issue:** the issue # it fixes, if applicable
    - **Dependencies:** any dependencies required for this change
- **Twitter handle:** if your PR gets announced, and you'd like a
mention, we'll gladly shout you out!


- [ ] **Add tests and docs**: If you're adding a new integration, please
include
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.


- [ ] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. See contribution
guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:
- Make sure optional dependencies are imported within a function.
- Please do not add dependencies to pyproject.toml files (even optional
ones) unless they are required for unit tests.
- Most PRs should not touch more than one package.
- Changes should be backwards compatible.
- If you are adding something to community, do not re-import it in
langchain.

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
2024-09-22 08:05:37 -04:00
..
adapters multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
agent_toolkits multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
agents core[patch]: Fix "argument of type 'NoneType' is not iterable" error in LangChainTracer (#26576) 2024-09-17 10:29:46 -07:00
callbacks community[patch]: o1-preview and o1-mini costs (#26411) 2024-09-17 21:59:46 +00:00
chains multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
chat_loaders Improvement[Community] Improve methods in IMessageChatLoader (#25746) 2024-08-26 14:20:22 -04:00
chat_message_histories docs: Add docstrings for CassandraChatMessageHistory class and package namespace function. (#24222) 2024-08-23 15:49:41 +00:00
chat_models fix:fix ChatZhipuAI tool call bug (#26693) 2024-09-20 13:06:42 +00:00
cross_encoders multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
docstore infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
document_compressors multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
document_loaders [community] Added PebbloTextLoader for loading text data in PebbloSafeLoader (#26582) 2024-09-19 09:59:04 -04:00
document_transformers Improvement[Community] Improve api doc of BeautifulSoupTransformer (#26423) 2024-09-17 22:00:07 +00:00
embeddings Remove pydantic restricted namespaces from HuggingFaceInferenceAPIEmbedings (#26744) 2024-09-22 08:05:37 -04:00
example_selectors multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
graph_vectorstores community: Fix links in GraphVectorStore pydoc (#25959) 2024-09-20 23:17:53 +00:00
graphs community: Retry retriable errors in Neo4j (#26211) 2024-09-19 04:01:07 +00:00
indexes community[patch]: restore compatibility with SQLAlchemy 1.x (#22546) 2024-06-19 17:58:57 +00:00
llms community: remove sambaverse (#26265) 2024-09-19 09:56:30 -04:00
memory multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
output_parsers multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
query_constructors add neo4j query constructor for self query (#25288) 2024-08-30 14:54:33 +00:00
retrievers multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
storage multiple: update removal targets (#25361) 2024-08-14 09:50:39 -04:00
tools Avoid copying runs (#26689) 2024-09-20 10:57:41 -07:00
utilities community[patch]: Handle empty PR body in get_pull_request in Github utility (#26739) 2024-09-22 01:56:24 +00:00
utils multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
vectorstores support epsilla cloud vector database in langchain (#26065) 2024-09-20 17:14:23 +00:00
__init__.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
cache.py Patch enable to use Amazon OpenSearch Serverless(aoss) for Semantic Cache store (#25833) 2024-08-29 13:28:22 +00:00
py.typed