gaudyb 0e1a6e3770
Unified search added to graphrag (#1862)
* unified search app added to graphrag repository

* ignore print statements

* update words for unified-search

* fix lint errors

* fix lint error

* fix module name

---------

Co-authored-by: Gaudy Blanco <gaudy-microsoft@MacBook-Pro-m4-Gaudy-For-Work.local>
2025-04-07 11:59:02 -06:00

21 lines
549 B
Python

# Copyright (c) 2024 Microsoft Corporation.
# Licensed under the MIT License
"""Data sources default module."""
import os
container_name = "data"
blob_container_name = os.getenv("BLOB_CONTAINER_NAME", container_name)
blob_account_name = os.getenv("BLOB_ACCOUNT_NAME")
local_data_root = os.getenv("DATA_ROOT")
LISTING_FILE = "listing.json"
if local_data_root is None and blob_account_name is None:
error_message = (
"Either DATA_ROOT or BLOB_ACCOUNT_NAME environment variable must be set."
)
raise ValueError(error_message)