The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Update URL to the 2markdown API (#24546)
Morteza Hosseini9e06991aae45
diff --git a/libs/community/langchain_community/document_loaders/tomarkdown.py b/libs/community/langchain_community/document_loaders/tomarkdown.pyindex 0ac36b5aeb..4c30141dad 100644--- a/libs/community/langchain_community/document_loaders/tomarkdown.py+++ b/libs/community/langchain_community/document_loaders/tomarkdown.py@@ -21,7 +21,7 @@ class ToMarkdownLoader(BaseLoader):) -> Iterator[Document]:"""Lazily load the file."""response = requests.post(- "https://2markdown.com/api/2md",+ "https://api.2markdown.com/v1/url2md",headers={"X-Api-Key": self.api_key},json={"url": self.url},)