# get_bytes_str

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/embeddings/jina/get_bytes_str)

Get the bytes string of a file.

## Signature

```python
get_bytes_str(
    file_path: str,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `file_path` | `str` | Yes | The path to the file. |

## Returns

`str`

The bytes string of the file.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/embeddings/jina.py#L29)