mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
# Azure Blob Storage
|
|
|
|
>[Azure Blob Storage](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction) is Microsoft's object storage solution for the cloud. Blob Storage is optimized for storing massive amounts of unstructured data. Unstructured data is data that doesn't adhere to a particular data model or definition, such as text or binary data.
|
|
|
|
>[Azure Files](https://learn.microsoft.com/en-us/azure/storage/files/storage-files-introduction) offers fully managed
|
|
> file shares in the cloud that are accessible via the industry standard Server Message Block (`SMB`) protocol,
|
|
> Network File System (`NFS`) protocol, and `Azure Files REST API`. `Azure Files` are based on the `Azure Blob Storage`.
|
|
|
|
`Azure Blob Storage` is designed for:
|
|
- Serving images or documents directly to a browser.
|
|
- Storing files for distributed access.
|
|
- Streaming video and audio.
|
|
- Writing to log files.
|
|
- Storing data for backup and restore, disaster recovery, and archiving.
|
|
- Storing data for analysis by an on-premises or Azure-hosted service.
|
|
|
|
## Installation and Setup
|
|
|
|
```bash
|
|
pip install azure-storage-blob
|
|
```
|
|
|
|
|
|
## Document Loader
|
|
|
|
See a [usage example for the Azure Blob Storage](/docs/integrations/document_loaders/azure_blob_storage_container.html).
|
|
|
|
```python
|
|
from langchain.document_loaders import AzureBlobStorageContainerLoader
|
|
```
|
|
|
|
See a [usage example for the Azure Files](/docs/integrations/document_loaders/azure_blob_storage_file.html).
|
|
|
|
```python
|
|
from langchain.document_loaders import AzureBlobStorageFileLoader
|
|
```
|