# GoogleDocumentAIWarehouseRetriever

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/retrievers/google_cloud_documentai_warehouse/GoogleDocumentAIWarehouseRetriever)

A retriever based on Document AI Warehouse.

Documents should be created and documents should be uploaded
    in a separate flow, and this retriever uses only Document AI
    schema_id provided to search for relevant documents.

More info: https://cloud.google.com/document-ai-warehouse.

## Signature

```python
GoogleDocumentAIWarehouseRetriever()
```

## Extends

- `BaseRetriever`

## Properties

- `location`
- `project_number`
- `schema_id`
- `qa_size_limit`
- `client`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/retrievers/google_cloud_documentai_warehouse/GoogleDocumentAIWarehouseRetriever/validate_environment)

## ⚠️ Deprecated

Deprecated since version 0.0.32.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/retrievers/google_cloud_documentai_warehouse.py#L24)