# create_text_content_part

> **Function** in `langchain_google_vertexai`

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

Create a dictionary that can be part of a message content list.

## Signature

```python
create_text_content_part(
    message_str: str,
) -> dict
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `message_str` | `str` | Yes | Message as an string. |

## Returns

`dict`

Dictionary that can be part of a message content list.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/982e4015b249de8b9ba1e787746d8cc1f6d6b790/libs/vertexai/langchain_google_vertexai/_image_utils.py#L262)