# detect_file_src_type

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/azure_cognitive_services/utils/detect_file_src_type)

Detect if the file is local or remote.

## Signature

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

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/7c10a5fa327f6aaaf7c932822a9e5d144891406e/libs/community/langchain_community/tools/azure_cognitive_services/utils.py#L8)