mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 21:11:43 +00:00
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:
@@ -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."""
|
||||
|
||||
|
Reference in New Issue
Block a user