# GoogleVertexAISearchRetriever

> **Class** in `langchain_community`

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

`Google Vertex AI Search` retriever.

For a detailed explanation of the Vertex AI Search concepts
and configuration parameters, refer to the product documentation.
https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction

## Signature

```python
GoogleVertexAISearchRetriever(
    self,
    **kwargs: Any = {},
)
```

## Extends

- `BaseRetriever`
- `_BaseGoogleVertexAISearchRetriever`

## Constructors

```python
__init__(
    self,
    **kwargs: Any = {},
) -> None
```


## Properties

- `filter`
- `get_extractive_answers`
- `max_documents`
- `max_extractive_answer_count`
- `max_extractive_segment_count`
- `query_expansion_condition`
- `spell_correction_mode`
- `model_config`

## Methods

- [`get_relevant_documents_with_response()`](https://reference.langchain.com/python/langchain-community/retrievers/google_vertex_ai_search/GoogleVertexAISearchRetriever/get_relevant_documents_with_response)

## ⚠️ Deprecated

Deprecated since version 0.0.33.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/retrievers/google_vertex_ai_search.py#L197)