langchain/libs/community/langchain_community
Alex Sherstinsky 5f563e040a
community: extend Predibase integration to support fine-tuned LLM adapters (#19979)
- [x] **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"


- [x] **PR message**: ***Delete this entire checklist*** and replace
with
- **Description:** Langchain-Predibase integration was failing, because
it was not current with the Predibase SDK; in addition, Predibase
integration tests were instantiating the Langchain Community `Predibase`
class with one required argument (`model`) missing. This change updates
the Predibase SDK usage and fixes the integration tests.
    - **Twitter handle:** `@alexsherstinsky`


- [x] **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, hwchase17.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-04-08 18:54:29 +00:00
..
adapters
agent_toolkits community[patch]: avoid executing toolkit.get_context() when not necessary (#19762) 2024-03-29 16:42:21 +00:00
callbacks community[patch]: Improve import callbacks to make it IDE friendly (#20050) 2024-04-05 15:17:51 -04:00
chat_loaders deprecating integrations moved to langchain_google_community (#19841) 2024-04-02 17:06:07 -04:00
chat_message_histories community[patch]: history size support for DynamoDBChatMessageHistory (#16794) 2024-03-29 18:56:21 +00:00
chat_models docs: use standard openai params (#20160) 2024-04-08 10:56:53 -05:00
cross_encoders langchain[minor], community[minor]: add CrossEncoderReranker with HuggingFaceCrossEncoder and SagemakerEndpointCrossEncoder (#13687) 2024-03-31 20:51:31 +00:00
docstore community[patch]: speed up import times in the community package (#18928) 2024-03-11 16:37:36 -04:00
document_compressors community[minor]: Add OpenVINO rerank model support (#19791) 2024-04-01 18:27:23 +00:00
document_loaders community: Add PHP language parser to document_loaders (#19850) 2024-04-08 11:30:28 -04:00
document_transformers deprecating integrations moved to langchain_google_community (#19841) 2024-04-02 17:06:07 -04:00
embeddings community[minor]: Add OpenVINO rerank model support (#19791) 2024-04-01 18:27:23 +00:00
example_selectors
graphs community[minor]: Add the option to omit schema refresh in Neo4jGraph (#19654) 2024-03-27 14:20:12 -04:00
indexes
llms community: extend Predibase integration to support fine-tuned LLM adapters (#19979) 2024-04-08 18:54:29 +00:00
output_parsers
retrievers Community: Updating Azure Retriever and Docs to be Azure AI Search instead of Azure Cognitive Search (#19925) 2024-04-08 11:12:41 -04:00
storage community[patch]: flattening imports 3 (#18939) 2024-03-12 15:18:54 -07:00
tools community[minor]: add hugging face text-to-speech inference API (#18880) 2024-03-29 15:02:29 +00:00
utilities community[minor]: Add support for Pebblo cloud_api_key in PebbloSafeLoader (#19855) 2024-04-08 11:10:04 -04:00
utils community[patch], mongodb[patch]: Stop spamming SIMD import warnings (#19531) 2024-03-28 03:11:02 +00:00
vectorstores community[minor]: Add metadata filtering support for neo4j vector (#20001) 2024-04-04 11:37:06 -04:00
__init__.py
cache.py core[patch]: fix beta, deprecated typing (#18877) 2024-03-28 22:33:43 +00:00
py.typed