CloudVisionParser#
- class langchain_google_community.vision.CloudVisionParser(project: str | None = None)[source]#
Methods
__init__([project])lazy_parse(blob)Lazy parsing interface.
load(gcs_uri)Loads an image from GCS path to a Document, only the text.
parse(blob)Eagerly parse the blob into a document or documents.
- Parameters:
project (str | None) –
- lazy_parse(blob: Blob) Iterator[Document][source]#
Lazy parsing interface.
Subclasses are required to implement this method.
- load(gcs_uri: str) Document[source]#
Loads an image from GCS path to a Document, only the text.
- Parameters:
gcs_uri (str) –
- Return type: