# get_output_parser

> **Function** in `langchain_google_vertexai`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-vertexai/chains/get_output_parser)

Get the appropriate function output parser given the user functions.

## Signature

```python
get_output_parser(
    functions: Sequence[type[BaseModel]],
) -> BaseOutputParser | BaseGenerationOutputParser
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `functions` | `Sequence[type[BaseModel]]` | Yes | Sequence where element is a dictionary, a `pydantic.BaseModel` class, or a Python function. If a dictionary is passed in, it is assumed to already be a valid OpenAI function. |

## Returns

`BaseOutputParser | BaseGenerationOutputParser`

A `PydanticFunctionsOutputParser`

## ⚠️ Deprecated

Deprecated since version 3.2.1. Will be removed in version 3.2.2.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/a3f016b2a6c4af535df275545f76fa7424aa39e5/libs/vertexai/langchain_google_vertexai/chains.py#L19)