deprecating integrations moved to langchain_google_community (#19841)

Thank you for contributing to LangChain!

- [ ] **PR title**: "community: deprecating integrations moved to
langchain_google_community"

- [ ] **PR message**: deprecating integrations moved to
langchain_google_community

---------

Co-authored-by: ccurme <chester.curme@gmail.com>
This commit is contained in:
Leonid Kuligin
2024-04-02 23:06:07 +02:00
committed by GitHub
parent f0d5b59962
commit eb0521064e
9 changed files with 54 additions and 0 deletions

View File

@@ -1,10 +1,16 @@
from typing import Any, Optional, Sequence
from langchain_core._api.deprecation import deprecated
from langchain_core.documents import BaseDocumentTransformer, Document
from langchain_community.utilities.vertexai import get_client_info
@deprecated(
since="0.0.32",
removal="0.2.0",
alternative_import="langchain_google_community.DocAIParser",
)
class GoogleTranslateTransformer(BaseDocumentTransformer):
"""Translate text documents using Google Cloud Translation."""