mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
87e502c6bc
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
37 lines
1.6 KiB
Plaintext
37 lines
1.6 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/modules/data_connection/document_loaders/integrations/azure_blob_storage_container.html).
|
|
|
|
```python
|
|
from langchain.document_loaders import AzureBlobStorageContainerLoader
|
|
```
|
|
|
|
See a [usage example for the Azure Files](/docs/modules/data_connection/document_loaders/integrations/azure_blob_storage_file.html).
|
|
|
|
```python
|
|
from langchain.document_loaders import AzureBlobStorageFileLoader
|
|
```
|