The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
infra: cut down on integration steps (#14785)
Erick Friis1acc7ffa3f40
diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.ymlindex 647aadaaff..e9b8be33c5 100644--- a/.github/workflows/_release.yml+++ b/.github/workflows/_release.yml@@ -11,15 +11,8 @@ on:inputs:working-directory:required: true- type: choice+ type: stringdefault: 'libs/langchain'- options:- - libs/langchain- - libs/core- - libs/experimental- - libs/community- - libs/partners/google-genai- - libs/partners/nvidia-ai-endpointsenv:PYTHON_VERSION: "3.10"diff --git a/.readthedocs.yaml b/.readthedocs.yamlindex 81cc639478..f6399faa6d 100644--- a/.readthedocs.yaml+++ b/.readthedocs.yaml@@ -14,6 +14,7 @@ build:- python -m pip install --upgrade --no-cache-dir pip setuptools- python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext- python -m pip install --exists-action=w --no-cache-dir -r docs/api_reference/requirements.txt+ - python -m pip install ./libs/partners/*- python docs/api_reference/create_api_rst.py- cat docs/api_reference/conf.py- python -m sphinx -T -E -b html -d _build/doctrees -c docs/api_reference docs/api_reference $READTHEDOCS_OUTPUT/html -j autodiff --git a/docs/api_reference/conf.py b/docs/api_reference/conf.pyindex 9795e9dbf6..2a3defb191 100644--- a/docs/api_reference/conf.py+++ b/docs/api_reference/conf.py@@ -72,8 +72,8 @@ def setup(app):# -- Project information -----------------------------------------------------project = "🦜🔗 LangChain"-copyright = "2023, Harrison Chase"-author = "Harrison Chase"+copyright = "2023, LangChain, Inc."+author = "LangChain, Inc."version = data["tool"]["poetry"]["version"]release = version@@ -141,13 +141,20 @@ redirects = {for old_link in redirects:html_additional_pages[old_link] = "redirects.html"+partners_dir = Path(__file__).parent.parent.parent / "libs/partners"+partners = [+ (p.name, p.name.replace("-", "_") + "_api_reference")+ for p in partners_dir.iterdir()+]+html_context = {"display_github": True, # Integrate GitHub- "github_user": "hwchase17", # Username+ "github_user": "langchain-ai", # Username"github_repo": "langchain", # Repo name"github_version": "master", # Version"conf_py_path": "/docs/api_reference", # Path in the checkout to the docs root"redirects": redirects,+ "partners": partners,}# Add any paths that contain custom static files (such as style sheets) here,diff --git a/docs/api_reference/requirements.txt b/docs/api_reference/requirements.txtindex 4ef83a5836..e5829ed5d9 100644--- a/docs/api_reference/requirements.txt+++ b/docs/api_reference/requirements.txt@@ -2,7 +2,6 @@-e libs/langchain-e libs/core-e libs/community--e libs/partners/google-genaipydantic<2autodoc_pydantic==1.8.0myst_parserdiff --git a/docs/api_reference/themes/scikit-learn-modern/nav.html b/docs/api_reference/themes/scikit-learn-modern/nav.htmlindex da3fdae96b..3a99820822 100644--- a/docs/api_reference/themes/scikit-learn-modern/nav.html+++ b/docs/api_reference/themes/scikit-learn-modern/nav.html@@ -6,11 +6,6 @@{%- set top_container_cls = "sk-landing-container" %}{%- endif %}-{# title, link, link_attrs #}-{%- set drop_down_navigation = [- ('Google Generative AI', pathto('google_genai_api_reference'), ''),]--%}-<nav id="navbar" class="{{ nav_bar_class }} navbar navbar-expand-md navbar-light bg-light py-0"><div class="container-fluid {{ top_container_cls }} px-0">{%- if logo_url %}@@ -48,16 +43,16 @@<li class="nav-item"><a class="sk-nav-link nav-link" href="{{ pathto('experimental_api_reference') }}">Experimental</a></li>- {%- for title, link, link_attrs in drop_down_navigation %}+ {%- for title, pathname in partners %}<li class="nav-item">- <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="{{ link }}" {{ link_attrs }}>{{ title }}</a>+ <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="{{ pathto(pathname) }}">{{ title }}</a></li>{%- endfor %}<li class="nav-item dropdown nav-more-item-dropdown"><a class="sk-nav-link nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Partner libs</a><div class="dropdown-menu" aria-labelledby="navbarDropdown">- {%- for title, link, link_attrs in drop_down_navigation %}- <a class="sk-nav-dropdown-item dropdown-item" href="{{ link }}" {{ link_attrs }}>{{ title}}</a>+ {%- for title, pathname in partners %}+ <a class="sk-nav-dropdown-item dropdown-item" href="{{ pathto(pathname) }}">{{ title }}</a>{%- endfor %}</div></li>