hackrx_rag_app / app /utils /config_loader.py
Kshitijk20's picture
added code fils
3a2c9d3
raw
history blame contribute delete
213 Bytes
import yaml
import os
def load_config(config_path: str = "app/config/config.yaml") -> dict:
with open(config_path, "r") as file:
config = yaml.safe_load(file)
# print(config)
return config