Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c5e7932
.
mdrxy Nov 4, 2025
ff1b3e5
.
mdrxy Nov 4, 2025
23ceaeb
.
mdrxy Nov 4, 2025
a256cdc
chore!: delete deprecated chat models (#403)
mdrxy Nov 4, 2025
ca1dd87
Merge branch 'main' into mdrxy/scratch
mdrxy Nov 4, 2025
7f2feaa
Merge branch 'main' into mdrxy/scratch
mdrxy Nov 5, 2025
ba15898
Merge branch 'main' into mdrxy/scratch
mdrxy Nov 5, 2025
b61fba7
openai_info callbacks remove `is_completion` parameter (use `token_ty…
mdrxy Nov 5, 2025
5aca423
docstrings
mdrxy Nov 5, 2025
3f34daa
remove ChatCloudflareWorkersAI
mdrxy Nov 5, 2025
f0a915e
remove GMailLoader
mdrxy Nov 5, 2025
503d3ec
astradb caches
mdrxy Nov 5, 2025
b066285
google, oracle
mdrxy Nov 5, 2025
6bfcd5c
`AstraDBChatMessageHistory`
mdrxy Nov 5, 2025
0f531cb
`MongoDBChatMessageHistory`
mdrxy Nov 5, 2025
c8abaac
`Neo4jChatMessageHistory`
mdrxy Nov 5, 2025
7f3d0e9
`NeptuneOpenCypherQAChain` and `NeptuneSparqlQAChain`
mdrxy Nov 5, 2025
b915438
`Session`
mdrxy Nov 5, 2025
56c672f
`connection_string`
mdrxy Nov 5, 2025
d02c51b
attempt to fix label syncing
mdrxy Nov 5, 2025
be2fbd2
`Weaviate`
mdrxy Nov 5, 2025
833202f
`VDMS`
mdrxy Nov 5, 2025
5be08e8
Qdrant
mdrxy Nov 5, 2025
12a8913
`Pinecone`
mdrxy Nov 5, 2025
a1dd7c7
`OracleVS`
mdrxy Nov 5, 2025
baecbae
`Neo4jVector`
mdrxy Nov 5, 2025
12904c2
`MongoDBAtlasVectorSearch`
mdrxy Nov 5, 2025
c4dcdd6
`Milvus`
mdrxy Nov 5, 2025
6fb799a
`MatchingEngine`
mdrxy Nov 5, 2025
e59b0a3
`HanaDB`
mdrxy Nov 5, 2025
70699cf
fix tagging hopefully
mdrxy Nov 5, 2025
41ef6af
`DeepLake`
mdrxy Nov 5, 2025
4c86ab3
`DatabricksVectorSearch`
mdrxy Nov 5, 2025
04499b1
undo
mdrxy Nov 5, 2025
bb2b316
Merge branch 'main' into mdrxy/scratch
mdrxy Nov 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions libs/community/extended_testing_deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jq>=1.4.1,<2
jsonschema>1
keybert>=0.8.5
langchain_openai>=0.2.1
litellm>=1.30,<=1.39.5
lxml>=4.9.3,<6.0
markdownify>=0.11.6,<0.12
motor>=3.3.1,<4
Expand Down Expand Up @@ -96,7 +95,6 @@ tree-sitter>=0.20.2,<0.21
tree-sitter-languages>=1.8.0,<2
upstash-redis>=1.1.0,<2
upstash-ratelimit>=1.1.0,<2
vdms>=0.0.20
xata>=1.0.0a7,<2
xmltodict>=0.13.0,<0.14
nanopq==0.2.1
Expand Down
2 changes: 1 addition & 1 deletion libs/community/langchain_community/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Main entrypoint into package."""
"""Entrypoint into `langchain-community`."""

from importlib import metadata

Expand Down
10 changes: 5 additions & 5 deletions libs/community/langchain_community/adapters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""**Adapters** are used to adapt LangChain models to other APIs.
"""Adapters are used to adapt LangChain models to other APIs.

LangChain integrates with many model providers.
While LangChain has its own message and model APIs,
LangChain has also made it as easy as
possible to explore other models by exposing an **adapter** to adapt LangChain
models to the other APIs, as to the OpenAI API.

While LangChain has its own message and model APIs, LangChain has also made it as easy
as possible to explore other models by exposing an **adapter** to adapt LangChain models
to the other APIs, such as to the OpenAI API.
"""
2 changes: 1 addition & 1 deletion libs/community/langchain_community/adapters/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def convert_openai_messages(messages: Sequence[Dict[str, Any]]) -> List[BaseMess
messages: List of dictionaries representing OpenAI messages

Returns:
List of LangChain BaseMessage objects.
List of LangChain `BaseMessage` objects.
"""
return [convert_dict_to_message(m) for m in messages]

Expand Down
18 changes: 0 additions & 18 deletions libs/community/langchain_community/agent_toolkits/load_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
from langchain_community.tools.google_jobs.tool import GoogleJobsQueryRun
from langchain_community.tools.google_lens.tool import GoogleLensQueryRun
from langchain_community.tools.google_scholar.tool import GoogleScholarQueryRun
from langchain_community.tools.google_search.tool import (
GoogleSearchResults,
GoogleSearchRun,
)
from langchain_community.tools.google_serper.tool import (
GoogleSerperResults,
GoogleSerperRun,
Expand Down Expand Up @@ -82,7 +78,6 @@
from langchain_community.utilities.google_jobs import GoogleJobsAPIWrapper
from langchain_community.utilities.google_lens import GoogleLensAPIWrapper
from langchain_community.utilities.google_scholar import GoogleScholarAPIWrapper
from langchain_community.utilities.google_search import GoogleSearchAPIWrapper
from langchain_community.utilities.google_serper import GoogleSerperAPIWrapper
from langchain_community.utilities.google_trends import GoogleTrendsAPIWrapper
from langchain_community.utilities.graphql import GraphQLAPIWrapper
Expand Down Expand Up @@ -310,10 +305,6 @@ def _get_wolfram_alpha(**kwargs: Any) -> BaseTool:
return WolframAlphaQueryRun(api_wrapper=WolframAlphaAPIWrapper(**kwargs))


def _get_google_search(**kwargs: Any) -> BaseTool:
return GoogleSearchRun(api_wrapper=GoogleSearchAPIWrapper(**kwargs))


def _get_merriam_webster(**kwargs: Any) -> BaseTool:
return MerriamWebsterQueryRun(api_wrapper=MerriamWebsterAPIWrapper(**kwargs))

Expand Down Expand Up @@ -368,10 +359,6 @@ def _get_google_serper_results_json(**kwargs: Any) -> BaseTool:
return GoogleSerperResults(api_wrapper=GoogleSerperAPIWrapper(**kwargs))


def _get_google_search_results_json(**kwargs: Any) -> BaseTool:
return GoogleSearchResults(api_wrapper=GoogleSearchAPIWrapper(**kwargs))


def _get_searchapi(**kwargs: Any) -> BaseTool:
return SearchAPIRun(api_wrapper=SearchApiAPIWrapper(**kwargs))

Expand Down Expand Up @@ -485,11 +472,6 @@ def _get_reddit_search(**kwargs: Any) -> BaseTool:
}
_EXTRA_OPTIONAL_TOOLS: Dict[str, Tuple[Callable[[KwArg(Any)], BaseTool], List[str]]] = {
"wolfram-alpha": (_get_wolfram_alpha, ["wolfram_alpha_appid"]),
"google-search": (_get_google_search, ["google_api_key", "google_cse_id"]),
"google-search-results-json": (
_get_google_search_results_json,
["google_api_key", "google_cse_id", "num_results"],
),
"searx-search-results-json": (
_get_searx_search_results_json,
["searx_host", "engines", "num_results", "aiosession"],
Expand Down
Loading