# file_chunk_from_response

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_helpers/file_chunk_from_response)

Build a FileChunk from a ranged download response.

## Signature

```python
file_chunk_from_response(
    response: httpx.Response,
) -> FileChunk
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/a39745c67839496a98e5e846122664d8070c8dca/python/langsmith/sandbox/_helpers.py#L135)