# file_from_path

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/_utils/_utils/file_from_path)

## Signature

```python
file_from_path(
    path: str,
) -> FileTypes
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/33995e14a84c53b65b82482b3d2fe0624b379bda/python/langsmith/_openapi_client/_utils/_utils.py#L378)